]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - tests/noreturn.qc
fix __builtin_nan and add some missing builtins
[xonotic/gmqcc.git] / tests / noreturn.qc
index 1437b0611ec4f3d2b435091d29d17f358fd87d7f..4bd8d154bdedb8028fbcf40ae2642ba58d0de6c8 100644 (file)
@@ -1,9 +1,10 @@
 #ifndef NORETURN
-#define NORETURN noreturn
+#define NORETURN [[noreturn]]
 #endif
 
-void          print(...)  = #1;
-string        ftos(float) = #2;
+void   (...)            print     = #1;
+string (float val)      ftos      = #2;
+
 NORETURN void error(...)  = #6;
 
 #if TEST == 1