mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-14 14:56:47 +00:00
Move target-specific Sema test to its own file.
Fixing the build-break introduced in r239406. llvm-svn: 239407
This commit is contained in:
parent
78f9e038e0
commit
6eef12f06f
9
clang/test/Sema/ast-print-x86.c
Normal file
9
clang/test/Sema/ast-print-x86.c
Normal file
@ -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) );
|
||||
}
|
@ -53,9 +53,3 @@ struct pair_t {
|
||||
|
||||
// CHECK: struct pair_t p = {a: 3, .b = 4};
|
||||
struct pair_t p = {a: 3, .b = 4};
|
||||
|
||||
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) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user