summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/extern-templates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/extern-templates.cpp')
-rw-r--r--test/SemaTemplate/extern-templates.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/SemaTemplate/extern-templates.cpp b/test/SemaTemplate/extern-templates.cpp
index 28fda1a..44728d1 100644
--- a/test/SemaTemplate/extern-templates.cpp
+++ b/test/SemaTemplate/extern-templates.cpp
@@ -29,16 +29,14 @@ void test_intptr(X0<int*> xi, X0<int*>::Inner xii) {
xii.g(0);
}
-// FIXME: we would like the notes to point to the explicit instantiation at the
-// bottom.
-extern template class X0<long*>; // expected-note 2{{instantiation}}
+extern template class X0<long*>;
void test_longptr(X0<long*> xl, X0<long*>::Inner xli) {
xl.f(0);
xli.g(0);
}
-template class X0<long*>;
+template class X0<long*>; // expected-note 2{{instantiation}}
template<typename T>
class X1 {
OpenPOWER on IntegriCloud