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++/28878
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ctor2.C
1
// { dg-do run }
2
3
int i;
4
5
template <class T>
6
struct S
7
{
8
S () { i = 1; }
9
};
10
11
static S<int> s[1];
12
13
int main ()
14
{
15
if (!i)
16
return 1;
17
}
18