brintos

brintos / llvm-project-archived public Read only

0
0
Text · 409 B · 87c1c1b Raw
13 lines · c
1// REQUIRES: x86-registered-target2// 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++3 4// Check that the parser catching an 'error' from forward declaration of "location" does not lexer out it's subsequent declaration.5 6void foo() {7  __asm {8    jl         location9 location:10    ret11  }12}13