Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / asm8.C
blob0b1be7da7de099201cb4afe878715666c06001ac
1 /* { dg-do compile } */
3 /* Test that asm with no outputs are treated as volatile.  */
5 void f(int x)
7   __asm__ ("extended asm not discarded" : : "r" (x));
10 void g (void)
12   __asm__ ("simple asm not discarded");
14 /* { dg-final { scan-assembler "extended asm not discarded" } } */
15 /* { dg-final { scan-assembler "simple asm not discarded" } } */