aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-pr58535.C
blob: 3e212a0ffd7836a22beaee740f33cc16252f5586 (plain)
1
2
3
4
5
6
7
// PR c++/58535
// { dg-do compile { target c++14 } }

struct A
{
  virtual void foo(auto); // { dg-error "auto|templates" }
};