diff options
| author | Amir Ayupov <aaupov@fb.com> | 2025-06-08 22:50:59 -0700 |
|---|---|---|
| committer | Amir Ayupov <aaupov@fb.com> | 2025-06-08 22:50:59 -0700 |
| commit | eb1dd48b4ab79e29e82bd396c01b4a7cc83bbd81 (patch) | |
| tree | ad446efb8062977bcf328af58cdc7fcd47864af2 /clang/test/CodeGenCXX/gnu-asm-constexpr.cpp | |
| parent | 81f92265327a8cf6e730ad1d01fd02f4ef76ed86 (diff) | |
| parent | 03bbd04bb7ae40dcda7b8bf1d6d09f63191503b0 (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/aaupov/spr/main.boltnfci-simplify-dataaggregator-using-traces-1
Created using spr 1.3.4
[skip ci]
Diffstat (limited to 'clang/test/CodeGenCXX/gnu-asm-constexpr.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/gnu-asm-constexpr.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/gnu-asm-constexpr.cpp b/clang/test/CodeGenCXX/gnu-asm-constexpr.cpp index d9c633ea6928..175a3b7bc588 100644 --- a/clang/test/CodeGenCXX/gnu-asm-constexpr.cpp +++ b/clang/test/CodeGenCXX/gnu-asm-constexpr.cpp @@ -16,6 +16,12 @@ struct string_view { } }; +namespace GH143242 { + constexpr string_view code2 = R"(nop; nop; nop; nop)"; + asm((code2)); + // CHECK: module asm "nop; nop; nop; nop" +} + int func() {return 0;}; void f() { @@ -49,4 +55,4 @@ void test_srcloc() { foobar)o") ) ::(string_view("r"))(func())); - } +} |
