Skip to content

Commit

Permalink
Added indirect stringify test.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 3, 2010
1 parent d8af96e commit 01bdb80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions unit_tests/preprocessor/output/stringify-operator-indirect
@@ -0,0 +1,7 @@
// Should produce RIGHT and not WRONG.
#define WRONG RIGHT
#define STRINGIFY2(x) #x
#define STRINGIFY(x) STRINGIFY2(x)

STRINGIFY(WRONG)

@@ -0,0 +1 @@
"RIGHT"

0 comments on commit 01bdb80

Please sign in to comment.