diff options
author | John McCall <rjmccall@apple.com> | 2010-03-11 09:33:17 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-03-11 09:33:17 +0000 |
commit | 45d878b0f0f50664ea93a905021f094142a07243 (patch) | |
tree | 1f0505c408df189532cf1b1ec2fc8b76cd13a068 /clang/test/SemaTemplate/instantiate-function-1.cpp | |
parent | 58f10c3380640962d251db70ac876e5ea7336c59 (diff) | |
download | bcm5719-llvm-45d878b0f0f50664ea93a905021f094142a07243.tar.gz bcm5719-llvm-45d878b0f0f50664ea93a905021f094142a07243.zip |
Fix a self-host problem caused by this over-eager assertion. I'm not sure
there's a good equivalent that's actually true, unfortunately.
llvm-svn: 98253
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-function-1.cpp')
-rw-r--r-- | clang/test/SemaTemplate/instantiate-function-1.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/SemaTemplate/instantiate-function-1.cpp b/clang/test/SemaTemplate/instantiate-function-1.cpp index 7b4c53cfe0d..6e0d7115900 100644 --- a/clang/test/SemaTemplate/instantiate-function-1.cpp +++ b/clang/test/SemaTemplate/instantiate-function-1.cpp @@ -214,3 +214,9 @@ template<typename T> struct X; template<typename T> struct Y : public X<T> { Y& x() { return *this; } }; + +// Make sure our assertions don't get too uppity. +namespace test0 { + template <class T> class A { void foo(T array[10]); }; + template class A<int>; +} |