☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
abbrev5.C
☽
☼
gcc/testsuite/g++.dg/concepts/abbrev5.C
code
plain
raw
1
// PR c++/92187
2
// { dg-do compile { target concepts } }
3
4
template <typename>
5
concept C = false;
6
7
C auto f(auto)
8
{
9
return 42; // { dg-error "deduced return type" }
10
}
11
12
void foo()
13
{
14
f(0);
15
}