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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
local2.C
blob
9dee5e56e49c602463951905776aa66cfd1bc082
1
// { dg-do run }
2
extern "C" void abort();
3
4
template <class T>
5
void f(T)
6
{
7
struct S {
8
int i;
9
} s;
10
11
s.i = 3;
12
13
if (s.i != 3)
14
abort();
15
}
16
17
18
int main()
19
{
20
f(7);
21
}