aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp1y/pr60626.C
blob: 39ea438159a6639d87b287d9c42cc4617519b622 (plain)
1
2
3
4
5
6
7
// PR c++/60626
// { dg-do compile { target c++1y } }
// { dg-options "" }

struct A {};

void (*A::p)(auto) = 0;  // { dg-error "static member|non-template" }