summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/line-directive.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-13 16:31:14 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-13 16:31:14 +0000
commit4c7626e7b6824fd088f1ac1a496a13e9d3886089 (patch)
treef04ede58f7ba994a23b7e8d5f3166aea0e1b9d70 /clang/test/PCH/line-directive.h
parent57d6bd36b293462ff35bb9d9ae9952be390d033e (diff)
downloadbcm5719-llvm-4c7626e7b6824fd088f1ac1a496a13e9d3886089.tar.gz
bcm5719-llvm-4c7626e7b6824fd088f1ac1a496a13e9d3886089.zip
Include the SourceManager's line table in the PCH file. We can now
properly cope with #line directives in PCH files. llvm-svn: 68963
Diffstat (limited to 'clang/test/PCH/line-directive.h')
-rw-r--r--clang/test/PCH/line-directive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/PCH/line-directive.h b/clang/test/PCH/line-directive.h
new file mode 100644
index 00000000000..c5594b420e6
--- /dev/null
+++ b/clang/test/PCH/line-directive.h
@@ -0,0 +1,2 @@
+#line 25 "line-directive.c"
+int x;
OpenPOWER on IntegriCloud