repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
warn
/
noeffect6.C
blob
ca6baba812212e0da9e53ec9a8b23250544697df
1
// { dg-options "-Wall" }
2
// PR c++/15083
3
4
extern "C" int printf(const char*,...);
5
struct Counter {
6
Counter(){printf("Hello World.\n");}
7
};
8
template< typename T >
9
void resetData() {
10
new Counter();
11
}
12
int main() {
13
resetData<int>();
14
}