☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash101.C
☽
☼
gcc/testsuite/g++.dg/template/crash101.C
code
plain
raw
1
// PR c++/44039
2
3
struct locale { };
4
5
template<class charT>
6
void
7
foo()
8
{ locale::locale(); } // { dg-error "cannot call|function-style" }
9
10
void
11
bar()
12
{ foo<char>(); }