summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/goto.C
blob: f138ec2be93a282d07ae3c004d7f1820f4ad6077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do assemble  }

template<class T>
void compute(T) {
    goto Exit;
Exit: ;
    }

int main() 
{
  compute(0);
}