OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
goto2.C
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
int i = 1;
5
6
template <class T> void test()
7
{
8
goto lab;
9
lab:
10
--i;
11
}
12
13
int main ()
14
{
15
test<int>();
16
return i;
17
}