aboutsummaryrefslogtreecommitdiff
path: root/test/Frontend/preprocessed-output-macro-first-token.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-06-15 18:56:20 +0000
committerChris Lattner <sabre@nondot.org>2010-06-15 18:56:20 +0000
commitd5ef4fa3039983cf1042c063e1216273ca0ed63d (patch)
tree4b16139675e10eaac8865605b06e7ed850878384 /test/Frontend/preprocessed-output-macro-first-token.c
parent90db74c361f16de5f22c53358ed48797bc4888fc (diff)
add a testcase, from Michael Spencer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend/preprocessed-output-macro-first-token.c')
-rw-r--r--test/Frontend/preprocessed-output-macro-first-token.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Frontend/preprocessed-output-macro-first-token.c b/test/Frontend/preprocessed-output-macro-first-token.c
new file mode 100644
index 0000000000..06b78c2e1f
--- /dev/null
+++ b/test/Frontend/preprocessed-output-macro-first-token.c
@@ -0,0 +1,5 @@
+// This is the first thing other than comments and preprocessor stuff in the
+// file.
+//
+// RUN: %clang_cc1 -fms-extensions -E %s
+#pragma comment(lib, "somelib")