summaryrefslogtreecommitdiff
path: root/clang/test/PCH/cxx-offsetof-base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/cxx-offsetof-base.cpp')
-rw-r--r--clang/test/PCH/cxx-offsetof-base.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/PCH/cxx-offsetof-base.cpp b/clang/test/PCH/cxx-offsetof-base.cpp
new file mode 100644
index 0000000..18265de
--- /dev/null
+++ b/clang/test/PCH/cxx-offsetof-base.cpp
@@ -0,0 +1,2 @@
+// RUN: %clang_cc1 -x c++-header -emit-pch -o %t %S/cxx-offsetof-base.h
+// RUN: %clang_cc1 -include-pch %t -fsyntax-only %s