mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 08:16:06 +00:00

Found via codespell -q 3 -I ../clang-whitelist.txt Where whitelist consists of: archtype cas classs checkk compres definit frome iff inteval ith lod methode nd optin ot pres statics te thru Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few files that have dubious fixes reverted.) Differential revision: https://reviews.llvm.org/D44188 llvm-svn: 329399
13 lines
409 B
C
13 lines
409 B
C
// 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 declaration.
|
|
|
|
void foo() {
|
|
__asm {
|
|
jl location
|
|
location:
|
|
ret
|
|
}
|
|
}
|