OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/47705
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash101.C
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>(); }