aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-pr60053.C
blob: 20cf1216b0ee813447e841d4b979ca03d19ec499 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/60053
// { dg-do compile { target c++14 } }
// { dg-additional-options "-fconcepts" }

struct A
{
  void foo(auto);
};

void A::foo(auto) {}

template<typename> struct B
{
  template<typename T> void bar(auto);
};