summaryrefslogtreecommitdiff
path: root/test/SemaTemplate/extern-templates.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-08 01:19:17 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-08 01:19:17 +0000
commite9374d5e2c0915bd883dfa988db2451b844390d8 (patch)
treed5a550f290f01a0aec5ae8f8889e038a027b15f1 /test/SemaTemplate/extern-templates.cpp
parent44e368b6a85c42d681148ccd5e0052418ff9751e (diff)
downloadclang-e9374d5e2c0915bd883dfa988db2451b844390d8.tar.gz
Make sure to set the template specialization kind of an explicit
template instantiation of a member function of a class template. FIXME -= 2; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/extern-templates.cpp')
-rw-r--r--test/SemaTemplate/extern-templates.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/SemaTemplate/extern-templates.cpp b/test/SemaTemplate/extern-templates.cpp
index 7154c7e32f..28fda1a11e 100644
--- a/test/SemaTemplate/extern-templates.cpp
+++ b/test/SemaTemplate/extern-templates.cpp
@@ -62,6 +62,5 @@ void g_X1(X1<void*> x1, void *ptr) {
extern template void X1<const void*>::g(const void*);
void g_X1_2(X1<const void *> x1, const void *ptr) {
- // FIXME: This should not instantiate of x1<const void*>::g
-// x1.g(ptr);
+ x1.g(ptr);
}