☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction70.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction70.C
code
plain
raw
1
// PR c++/93596
2
3
template <typename> struct A {};
4
template <typename> struct B {};
5
template <typename> struct C {
6
void foo () { B a = A<int> { foo }; } // { dg-error "" }
7
};