'defined' cannot be used as a macro name in #define or #undef.

This commit is contained in:
Aaron Hamilton
2015-08-19 21:04:18 +00:00
parent d6c37b190b
commit 7d3b73bfff
5 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
ERROR: 0:2: '#define' : "defined" can't be (un)defined: defined
ERROR: 1 compilation errors. No code generated.

View File

@@ -0,0 +1,2 @@
#define defined_not_really
#define defined // ERROR: "defined" can't be (un)defined:

View File

@@ -11,3 +11,4 @@ preprocessor.line.frag
preprocessor.pragma.vert
preprocessor.simple.vert
preprocessor.success_if_parse_would_fail.vert
preprocessor.defined.vert