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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
stmtexpr2.C
blob
36c0fccebcd1c6d8c76b87eea0b448dfedb3b702
1
// { dg-do run }
2
extern "C" void abort();
3
4
int i;
5
6
void g()
7
{
8
i++;
9
}
10
11
template <class T>
12
void f(T)
13
{
14
__extension__ ({g();});
15
}
16
17
int main()
18
{
19
f(3.0);
20
if (i != 1)
21
abort();
22
23
return 0;
24
}
25