2019-05-22 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/cpp0x/decltype-pr66548.C: Remove, mistakenly added.
From-SVN: r271506
PR middle-end/90553
* gcc.dg/torture/pr90553.c: New test.
+2019-05-21 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * g++.dg/cpp0x/udlit-tmpl-arg-neg2.C: Check locations too.
+ * g++.dg/cpp0x/udlit-tmpl-parms-neg.C: Likewise.
+
2019-05-21 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/67184
+++ /dev/null
-// PR c++/66548 - Invalid class member access expression in decltype
-// sometimes accepted
-// { dg-do compile }
-// { dg-options "-ftrack-macro-expansion=0" }
-
-#if __cplusplus < 201103L
-# define decltype __typeof__
-#endif
-
-struct Meow {};
-
-void f ()
-{
- decltype (Meow.purr ()) d; // { dg-error "expected primary-expression" }
- (void)&d;
-}
-
-void g ()
-{
- decltype (Meow.purr); // { dg-error "expected primary-expression" }
-}
-