mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-14 14:56:47 +00:00
Introduce inline assembly parsing test is PR30372.
llvm-svn: 281753
This commit is contained in:
parent
55b06538b5
commit
e5d4a6c708
12
clang/test/Sema/pr30372.c
Normal file
12
clang/test/Sema/pr30372.c
Normal file
@ -0,0 +1,12 @@
|
||||
// REQUIRES: x86-registered-target
|
||||
// RUN: %clang_cc1 %s -triple i386-pc-windows-msvc18.0.0 -disable-free -fms-volatile -fms-extensions -fms-compatibility -fms-compatibility-version=18 -std=c++11 -x c++
|
||||
|
||||
// Check that the parser catching an 'error' from forward declaration of "location" does not lexer out it's subsequent declation.
|
||||
|
||||
void foo() {
|
||||
__asm {
|
||||
jl location
|
||||
location:
|
||||
ret
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user