summaryrefslogtreecommitdiffstats
path: root/clang/test
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
commit58efac6120e008f98e91f1ec209c0d02acab7f9a (patch)
tree9ba82eaa6f2f6bcc80b165defe9b87fc86d26395 /clang/test
parent4e18a2bc9738ca50b6bc0e54279fa8013dfb5da0 (diff)
downloadbcm5719-llvm-58efac6120e008f98e91f1ec209c0d02acab7f9a.tar.gz
bcm5719-llvm-58efac6120e008f98e91f1ec209c0d02acab7f9a.zip
add a testcase, from Michael Spencer
llvm-svn: 106026
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Frontend/preprocessed-output-macro-first-token.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Frontend/preprocessed-output-macro-first-token.c b/clang/test/Frontend/preprocessed-output-macro-first-token.c
new file mode 100644
index 00000000000..06b78c2e1fa
--- /dev/null
+++ b/clang/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")
OpenPOWER on IntegriCloud