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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
stmtexpr.C
blob
57ef7e3ab38344ba90aab652f0051ba95e252833
1
extern "C" void abort();
2
3
template <class T>
4
T f(T)
5
{
6
T t = __extension__ ({ T j = 4; j + 3; });
7
return t;
8
}
9
10
11
int main()
12
{
13
if (f(3) != 7)
14
abort();
15
}
16