diff options
| author | Jonathan Roelofs <jonathan@codesourcery.com> | 2015-06-09 14:30:17 +0000 |
|---|---|---|
| committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2015-06-09 14:30:17 +0000 |
| commit | 6eef12f06f7bcdeb2a0454b9a16f82595196d153 (patch) | |
| tree | 156ce6ea363447ff9e05721ee5f925798f823985 /clang/test/Sema/ast-print-x86.c | |
| parent | 78f9e038e0c53600b174f0671369f5a2f36c1434 (diff) | |
| download | bcm5719-llvm-6eef12f06f7bcdeb2a0454b9a16f82595196d153.tar.gz bcm5719-llvm-6eef12f06f7bcdeb2a0454b9a16f82595196d153.zip | |
Move target-specific Sema test to its own file.
Fixing the build-break introduced in r239406.
llvm-svn: 239407
Diffstat (limited to 'clang/test/Sema/ast-print-x86.c')
| -rw-r--r-- | clang/test/Sema/ast-print-x86.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Sema/ast-print-x86.c b/clang/test/Sema/ast-print-x86.c new file mode 100644 index 00000000000..0059776b3dc --- /dev/null +++ b/clang/test/Sema/ast-print-x86.c @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -triple i686-elf %s -ast-print | FileCheck %s + +// REQUIRES: x86-registered-target + +void assembly() { + int added; + // CHECK: asm volatile ("addl %%ebx,%%eax" : "=a" (added) : "a" (1), "b" (2)); + __asm__ __volatile__("addl %%ebx,%%eax" : "=a" (added) : "a" (1), "b" (2) ); +} |

