gitoleg d97f0e9364
[CIR] add support for file scope assembly (#152093)
This PR adds a support for file scope assembly in CIR.
2025-08-07 10:12:58 -07:00

7 lines
219 B
C

// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-cir %s -o %t.cir
// RUN: FileCheck --input-file=%t.cir %s
// CHECK: cir.module_asm = [".globl bar", ".globl foo"]
__asm (".globl bar");
__asm (".globl foo");