summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/cxx-offsetof-base.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-07-29 18:16:10 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-07-29 18:16:10 +0000
commitd67d4cc82ff01ca919eb25c09c40df421a8a39ea (patch)
treec964735b0f38f841908b0616d85f1b54650040d8 /clang/test/PCH/cxx-offsetof-base.cpp
parentc81af03fb39c879f1713224b29ac0fc10470ea89 (diff)
downloadbcm5719-llvm-d67d4cc82ff01ca919eb25c09c40df421a8a39ea.tar.gz
bcm5719-llvm-d67d4cc82ff01ca919eb25c09c40df421a8a39ea.zip
Implement PCH support for offsetof(base-specifier).
llvm-svn: 109785
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 00000000000..18265deecc2
--- /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
OpenPOWER on IntegriCloud