summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/warn-macro-unused.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/warn-macro-unused.c')
-rw-r--r--test/Preprocessor/warn-macro-unused.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/warn-macro-unused.c b/test/Preprocessor/warn-macro-unused.c
index c33aeb5..a305cc9 100644
--- a/test/Preprocessor/warn-macro-unused.c
+++ b/test/Preprocessor/warn-macro-unused.c
@@ -2,6 +2,10 @@
#include "warn-macro-unused.h"
+# 1 "warn-macro-unused-fake-header.h" 1
+#define unused_from_fake_header
+# 5 "warn-macro-unused.c" 2
+
#define unused // expected-warning {{macro is not used}}
#define unused
unused
OpenPOWER on IntegriCloud