2016-09-17 01:42:02 +08:00
|
|
|
// 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++
|
|
|
|
|
2018-04-06 23:14:32 +08:00
|
|
|
// Check that the parser catching an 'error' from forward declaration of "location" does not lexer out it's subsequent declaration.
|
2016-09-17 01:42:02 +08:00
|
|
|
|
|
|
|
void foo() {
|
|
|
|
__asm {
|
|
|
|
jl location
|
|
|
|
location:
|
|
|
|
ret
|
|
|
|
}
|
|
|
|
}
|