Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction53.C
blob: 6025dc47cf52683636c7295a4ad6d39e1b393f43 [
file
] [
log
] [
blame
]
// PR c++/85135
// { dg-do compile { target c++11 } }
template
<int>
struct
A
{};
auto
foo
()
->
A
;
// { dg-error "A" }
template
<typename>
struct
B
{};
auto
foo
()
->
A
;
// { dg-error "A" }