summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/extern-templates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaTemplate/extern-templates.cpp')
-rw-r--r--clang/test/SemaTemplate/extern-templates.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/clang/test/SemaTemplate/extern-templates.cpp b/clang/test/SemaTemplate/extern-templates.cpp
index 28fda1a11e6..44728d188a2 100644
--- a/clang/test/SemaTemplate/extern-templates.cpp
+++ b/clang/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