summaryrefslogtreecommitdiff
path: root/test/CXX/temp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-30 22:09:44 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-30 22:09:44 +0000
commitc78c06d81f9838aea4198e4965cc1b26bb0bf838 (patch)
treeb15f5c02e240dd7e8caa7701aeb4d5151fe6b4ec /test/CXX/temp
parent12e6f0341208099b80e8f6e779cc266d09702cf2 (diff)
downloadclang-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.cpp2
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