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
diagnostics: move output formats from diagnostic.{c,h} to their own files
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ctor2.C
blob
1c8d8a65d9b1740a4154fadedc8e6625e8616762
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