blob: b611346e926de35e3e7051f6ed6e46d3a286b3bd [file] [log] [blame]
// PR c++/99806
// { dg-do compile { target c++14 } }
// { dg-additional-options "-fconcepts" }
struct S {
void f(auto, auto, int = 3);
void f2(auto, auto, int = 3) { }
template<typename T> static T g(T, auto, int = 3);
};
void
g ()
{
S::g(1, 2);
S s;
s.f(1, 2);
s.f2(1, 2);
}