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 | 1d0015f8e133556fe88c52d594f0f72952e78210 (patch) | |
tree | 2f74bd8795383fcd91aaf3c875a6b5b2aa7c76cd /clang/test/CXX/temp/temp.spec/temp.explicit/p5.cpp | |
parent | 13cb2810130493c17d28c3c8d89595962a13f7f0 (diff) | |
download | bcm5719-llvm-1d0015f8e133556fe88c52d594f0f72952e78210.tar.gz bcm5719-llvm-1d0015f8e133556fe88c52d594f0f72952e78210.zip |
Improved fix for PR3844, which recovers better for class template
partial specializations and explicit instantiations of non-templates.
llvm-svn: 85620
Diffstat (limited to 'clang/test/CXX/temp/temp.spec/temp.explicit/p5.cpp')
-rw-r--r-- | clang/test/CXX/temp/temp.spec/temp.explicit/p5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/temp/temp.spec/temp.explicit/p5.cpp b/clang/test/CXX/temp/temp.spec/temp.explicit/p5.cpp index b85b62f262c..a992648d7c4 100644 --- a/clang/test/CXX/temp/temp.spec/temp.explicit/p5.cpp +++ b/clang/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 |