From: Wolfgang Bumiller Date: Wed, 24 Apr 2013 09:22:29 +0000 (+0200) Subject: test for the simple __FUNC__ case X-Git-Tag: before-library~13 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=1e9d3e43cb17c3518eb6371a3b3ba37453c1bc4a test for the simple __FUNC__ case --- diff --git a/tests/predef_func.qc b/tests/predef_func.qc new file mode 100644 index 0000000..ec17cd0 --- /dev/null +++ b/tests/predef_func.qc @@ -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 index 0000000..6944138 --- /dev/null +++ b/tests/predef_func.tmpl @@ -0,0 +1,5 @@ +I: predef_func.qc +D: simple __FUNC__ case +T: -execute +C: -std=fte -fftepp-predefs +M: main