From 9f7c6db60dbb660fca7f8106feef540d1d316c60 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Wed, 22 May 2019 08:16:08 +0000 Subject: [PATCH] decltype-pr66548.C: Remove, mistakenly added. 2019-05-22 Paolo Carlini * g++.dg/cpp0x/decltype-pr66548.C: Remove, mistakenly added. From-SVN: r271506 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp0x/decltype-pr66548.C | 22 ------------------- 2 files changed, 5 insertions(+), 22 deletions(-) delete mode 100644 gcc/testsuite/g++.dg/cpp0x/decltype-pr66548.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a4ac2168aa3..4dc32b489d1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -18,6 +18,11 @@ PR middle-end/90553 * gcc.dg/torture/pr90553.c: New test. +2019-05-21 Paolo Carlini + + * 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 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 index 3f20d152aff..00000000000 --- a/gcc/testsuite/g++.dg/cpp0x/decltype-pr66548.C +++ /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" } -} - -- 2.30.2