repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
complit11.C
blob
7b41795ece3713f3fad91cffae9f7ffa2f8cc900
1
// { dg-do compile }
2
// { dg-options "" }
3
4
struct A { int i; };
5
6
template<int t>
7
void foo()
8
{
9
((struct A) { 0 }).i += 1;
10
}
11
12
void g(void)
13
{
14
foo<0>();
15
}
16