]> granicus.if.org Git - clang/commitdiff
add a testcase, from Michael Spencer
authorChris Lattner <sabre@nondot.org>
Tue, 15 Jun 2010 18:56:20 +0000 (18:56 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Jun 2010 18:56:20 +0000 (18:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106026 91177308-0d34-0410-b5e6-96231b3b80d8

test/Frontend/preprocessed-output-macro-first-token.c [new file with mode: 0644]

diff --git a/test/Frontend/preprocessed-output-macro-first-token.c b/test/Frontend/preprocessed-output-macro-first-token.c
new file mode 100644 (file)
index 0000000..06b78c2
--- /dev/null
@@ -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")