comparison gcc/testsuite/g++.dg/template/asmgoto1.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 // PR c++/52247
2 // { dg-do compile }
3
4 template <int N>
5 bool
6 bar ()
7 {
8 __asm goto ("" : : : : lab);
9 return true;
10 lab:
11 return false;
12 }
13
14 bool
15 foo ()
16 {
17 return bar<0> ();
18 }