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
/
stmtexpr.C
blob
2d5ecbd1640e607c8868685e41ccf8f95ed19e30
1
// { dg-do run }
2
extern "C" void abort();
3
4
template <class T>
5
T f(T)
6
{
7
T t = __extension__ ({ T j = 4; j + 3; });
8
return t;
9
}
10
11
12
int main()
13
{
14
if (f(3) != 7)
15
abort();
16
}
17