mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 00:20:14 +00:00
Test case for PR7887 - failed with asm("")
llvm-svn: 185543
This commit is contained in:
parent
47e9328afe
commit
f432f85777
@ -17,3 +17,15 @@ int *test(void) {
|
||||
// DARWIN: @"\01bar" = internal global i32 0
|
||||
// DARWIN: @"\01foo" = common global i32 0
|
||||
// DARWIN: declare i8* @"\01alias"(i32)
|
||||
|
||||
// PR7887
|
||||
int pr7887_1 asm("");
|
||||
extern int pr7887_2 asm("");
|
||||
int pr7887_3 () asm("");
|
||||
|
||||
int pt7887_4 () {
|
||||
static int y asm("");
|
||||
y = pr7887_3();
|
||||
pr7887_2 = 1;
|
||||
return pr7887_1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user