summaryrefslogtreecommitdiffstats
path: root/test/SemaTemplate/injected-class-name.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/injected-class-name.cpp')
-rw-r--r--test/SemaTemplate/injected-class-name.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/SemaTemplate/injected-class-name.cpp b/test/SemaTemplate/injected-class-name.cpp
index 1a65aeb3..482eae1 100644
--- a/test/SemaTemplate/injected-class-name.cpp
+++ b/test/SemaTemplate/injected-class-name.cpp
@@ -11,11 +11,7 @@ struct X<int***> {
typedef X<int***> *ptr;
};
-// FIXME: EDG rejects this in their strict-conformance mode, but I
-// don't see any wording making this ill-formed. Actually,
-// [temp.local]p2 might make it ill-formed. Are we "in the scope of
-// the class template specialization?"
-X<float>::X<int> xi = x;
+X<float>::X<int> xi = x; // expected-error{{qualified reference to 'X' is a constructor name rather than a template name wherever a constructor can be declared}}
// [temp.local]p1:
OpenPOWER on IntegriCloud