Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/PCH/asm-label.cpp | ||
---|---|---|
6 | you can drop #pragma once know, as it won't be parsed again anyways | |
7 | let's still make sure this crashes with current version (I know i said we can simplify it, but it looks like we don't have any assertions, and moreover it's really hard to have any without significantly changing interfaces). So let's keep the template and at least 5 different operand names: template <int = 0> void foo() { label: void *bar; asm goto("" : : [op1] "r"(bar), [op2] "r"(bar), [op3] "r"(bar), [op4] "r"(bar) : : label); } |
you can drop #pragma once know, as it won't be parsed again anyways