aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/function_macro_file.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-19 00:07:36 +0000
committerChris Lattner <sabre@nondot.org>2007-07-19 00:07:36 +0000
commit0ea793e5e37a7b2283ef0c64676ffc7201b1b417 (patch)
treec90b4762f546d6355aaeb601ca39dc10a16a39d0 /test/Preprocessor/function_macro_file.h
parent76e773a443be9f006610f46529e07d4c8d857680 (diff)
Correctly respect C99 5.1.1.2p4 when searching for the first '(' of
a function-like macro invocation. Patch contributed by Neil Booth. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/function_macro_file.h')
-rw-r--r--test/Preprocessor/function_macro_file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Preprocessor/function_macro_file.h b/test/Preprocessor/function_macro_file.h
new file mode 100644
index 0000000000..43d1199bfe
--- /dev/null
+++ b/test/Preprocessor/function_macro_file.h
@@ -0,0 +1,3 @@
+
+#define f() x
+f