diff options
author | John McCall <rjmccall@apple.com> | 2010-06-03 19:28:45 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-06-03 19:28:45 +0000 |
commit | 1c70e99a2c18b9a47659c4743f2d5bade3ea85de (patch) | |
tree | dfb434ec11b1c72a43c40b38e944ae8e5bfa2fd2 /clang/test/ASTMerge/Inputs/class1.cpp | |
parent | 30093b5d8b4624f7b07f93cc76c211a9b350568f (diff) | |
download | bcm5719-llvm-1c70e99a2c18b9a47659c4743f2d5bade3ea85de.tar.gz bcm5719-llvm-1c70e99a2c18b9a47659c4743f2d5bade3ea85de.zip |
Hack in some really terrible C++ record PCH support that I need right now.
This is required in order to test:
The ASTImporter should set base classes after formally entering the definition.
llvm-svn: 105401
Diffstat (limited to 'clang/test/ASTMerge/Inputs/class1.cpp')
-rw-r--r-- | clang/test/ASTMerge/Inputs/class1.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/class1.cpp b/clang/test/ASTMerge/Inputs/class1.cpp new file mode 100644 index 00000000000..e13faf0539b --- /dev/null +++ b/clang/test/ASTMerge/Inputs/class1.cpp @@ -0,0 +1,8 @@ +struct A { + int x; +}; + +struct B : A { + float y; + float foo(); +}; |