commit | 1c70e99a2c18b9a47659c4743f2d5bade3ea85de | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Thu Jun 03 19:28:45 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Thu Jun 03 19:28:45 2010 +0000 |
tree | dfb434ec11b1c72a43c40b38e944ae8e5bfa2fd2 | |
parent | 30093b5d8b4624f7b07f93cc76c211a9b350568f [diff] [blame] |
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
diff --git a/clang/test/ASTMerge/Inputs/class1.cpp b/clang/test/ASTMerge/Inputs/class1.cpp new file mode 100644 index 0000000..e13faf0 --- /dev/null +++ b/clang/test/ASTMerge/Inputs/class1.cpp
@@ -0,0 +1,8 @@ +struct A { + int x; +}; + +struct B : A { + float y; + float foo(); +};