decltype-pr66548.C: Remove, mistakenly added.
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 22 May 2019 08:16:08 +0000 (08:16 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 22 May 2019 08:16:08 +0000 (08:16 +0000)
2019-05-22  Paolo Carlini  <paolo.carlini@oracle.com>

      * g++.dg/cpp0x/decltype-pr66548.C: Remove, mistakenly added.

From-SVN: r271506

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype-pr66548.C [deleted file]

index a4ac2168aa3d948ac8b00212e8596eff6202b1c7..4dc32b489d122cf237dc4750c0f36558831b9ac1 100644 (file)
        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
diff --git a/gcc/testsuite/g++.dg/cpp0x/decltype-pr66548.C b/gcc/testsuite/g++.dg/cpp0x/decltype-pr66548.C
deleted file mode 100644 (file)
index 3f20d15..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// 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" }
-}
-