diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-10-30 22:09:44 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-10-30 22:09:44 +0000 |
commit | c78c06d81f9838aea4198e4965cc1b26bb0bf838 (patch) | |
tree | b15f5c02e240dd7e8caa7701aeb4d5151fe6b4ec /test/CXX/temp | |
parent | 12e6f0341208099b80e8f6e779cc266d09702cf2 (diff) | |
download | clang-c78c06d81f9838aea4198e4965cc1b26bb0bf838.tar.gz |
Improved fix for PR3844, which recovers better for class template
partial specializations and explicit instantiations of non-templates.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/temp')
-rw-r--r-- | test/CXX/temp/temp.spec/temp.explicit/p5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/temp/temp.spec/temp.explicit/p5.cpp b/test/CXX/temp/temp.spec/temp.explicit/p5.cpp index b85b62f262..a992648d7c 100644 --- a/test/CXX/temp/temp.spec/temp.explicit/p5.cpp +++ b/test/CXX/temp/temp.spec/temp.explicit/p5.cpp @@ -6,7 +6,7 @@ namespace N { }; } -template class Z<int>; // expected-error{{non-template class 'Z'}} +template class Z<int>; // expected-error{{explicit instantiation of non-template class 'Z'}} // FIXME: This example from the standard is wrong; note posted to CWG reflector // on 10/27/2009 |