diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-29 14:26:40 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-29 14:26:40 +0000 |
commit | 7b0a5723d6851a6f0365536508c2e4db678812b3 (patch) | |
tree | 6fd3f779d4d750548b297f0c153f8050ea1bc933 /test/SemaTemplate/instantiate-declref.cpp | |
parent | 8e92bf33baa91a8d97cbd4859648af149d5b5e74 (diff) |
Follow-on test case for template instantiation of interesting DeclGroups
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/instantiate-declref.cpp')
-rw-r--r-- | test/SemaTemplate/instantiate-declref.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaTemplate/instantiate-declref.cpp b/test/SemaTemplate/instantiate-declref.cpp index 590f241f2f..051c6050ab 100644 --- a/test/SemaTemplate/instantiate-declref.cpp +++ b/test/SemaTemplate/instantiate-declref.cpp @@ -55,6 +55,9 @@ namespace N2 { typedef T type; type t2 = s1.x; + typedef struct { T z; } type2; + type2 t3 = { s1.x }; + Inner i1; i1.foo(); Inner<T> i2; |