Added another failing test.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 02 Mar 2010 23:12:16 -0800
changeset 880 a3a9488856f7
parent 879 6369bd110bff
child 881 a22fe996c5a4
Added another failing test.
unit_tests/preprocessor/output/stringify-operator-indirect-line-macro
unit_tests/preprocessor/output/stringify-operator-indirect-line-macro.correct
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unit_tests/preprocessor/output/stringify-operator-indirect-line-macro	Tue Mar 02 23:12:16 2010 -0800
@@ -0,0 +1,5 @@
+// Should produce a line number in quotes, and not "__LINE__"
+#define STRINGIFY2(x) #x
+#define STRINGIFY(x) STRINGIFY2(x)
+
+STRINGIFY(__LINE__)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/unit_tests/preprocessor/output/stringify-operator-indirect-line-macro.correct	Tue Mar 02 23:12:16 2010 -0800
@@ -0,0 +1,1 @@
+"5"