summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/macro_arg_slocentry_merge.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/macro_arg_slocentry_merge.c')
-rw-r--r--test/Preprocessor/macro_arg_slocentry_merge.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Preprocessor/macro_arg_slocentry_merge.c b/test/Preprocessor/macro_arg_slocentry_merge.c
new file mode 100644
index 0000000..9ab385f
--- /dev/null
+++ b/test/Preprocessor/macro_arg_slocentry_merge.c
@@ -0,0 +1,7 @@
+// RUN: not %clang_cc1 -fsyntax-only %s 2>&1 | FileCheck %s
+
+#include "macro_arg_slocentry_merge.h"
+
+// CHECK: macro_arg_slocentry_merge.h:7:19: error: unknown type name 'win'
+// CHECK: macro_arg_slocentry_merge.h:5:16: note: expanded from macro 'WINDOW'
+// CHECK: macro_arg_slocentry_merge.h:6:18: note: expanded from macro 'P_'
OpenPOWER on IntegriCloud