Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr84979.C
blob: 81555eb455444de80c4a737d1e8f0f6ea38d86e0 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options "-fconcepts" }
template
<typename>
void
foo
()
{}
void
bar
()
{
foo
<auto>
();
// { dg-error "not permitted|invalid|no matching function" }
}