]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
test for the simple __FUNC__ case
authorWolfgang Bumiller <wry.git@bumiller.com>
Wed, 24 Apr 2013 09:22:29 +0000 (11:22 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Wed, 24 Apr 2013 09:22:29 +0000 (11:22 +0200)
tests/predef_func.qc [new file with mode: 0644]
tests/predef_func.tmpl [new file with mode: 0644]

diff --git a/tests/predef_func.qc b/tests/predef_func.qc
new file mode 100644 (file)
index 0000000..ec17cd0
--- /dev/null
@@ -0,0 +1,3 @@
+void main() {
+    print(__FUNC__, "\n");
+}
diff --git a/tests/predef_func.tmpl b/tests/predef_func.tmpl
new file mode 100644 (file)
index 0000000..6944138
--- /dev/null
@@ -0,0 +1,5 @@
+I: predef_func.qc
+D: simple __FUNC__ case
+T: -execute
+C: -std=fte -fftepp-predefs
+M: main