Inline asm doesn't complain about invalid clobbers #71362
Labels
A-inline-assembly
Area: Inline assembly (`asm!(…)`)
B-unstable
Blocker: Implemented in the nightly compiler and unstable.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
To reproduce
Try compiling the following program:
Expected result
It should fail with an error
Like how gcc and clang do in inline asm in C.
Actual result
It compiles without an error.
Version info:
The text was updated successfully, but these errors were encountered: