diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-24 22:50:24 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-24 22:50:24 +0000 |
commit | 4153a060f4cd03e9db1349328a158e9d898a2610 (patch) | |
tree | 8f7cf0a58a63580b54fc34482c2486063c5d15f3 /test/PCH/chain-cxx.cpp | |
parent | 6e50e00c2fe6a04b2c35592588a4b10a2c269416 (diff) |
AST writer support for having specializations of templates from earlier in the chain. This ought to finish C++ chained PCH support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111986 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH/chain-cxx.cpp')
-rw-r--r-- | test/PCH/chain-cxx.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/PCH/chain-cxx.cpp b/test/PCH/chain-cxx.cpp index 450a791828..3e46214c70 100644 --- a/test/PCH/chain-cxx.cpp +++ b/test/PCH/chain-cxx.cpp @@ -19,5 +19,10 @@ void test() { ns::pg(); ns::g2(); - //typedef S<int>::I J; + typedef S<double>::G T1; + typedef S<double *>::H T2; + typedef S<int>::I T3; + typedef S<double &>::J T4; + typedef S<int *>::K T5; + typedef S<int &>::L T6; } |