comparison gcc/testsuite/c-c++-common/asmgoto-1.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 /* { dg-do compile } */
2 /* { dg-options "" } */
3
4 void
5 foo (void)
6 {
7 int i = 0;
8 asm ("" : : : "memory");
9 asm ("" : : : );
10 asm ("" : : "r" (i));
11 asm ("" : : );
12 asm ("" : "=r" (i));
13 asm ("" : );
14 asm ("");
15 }