blob: 4bc6a31f661d2e426eeb7c362b9662809a07e503 [file] [edit]
// RUN: cir-opt %s -cir-to-llvm -o %t.cir
// RUN: FileCheck %s --input-file=%t.cir
// RUN: cir-translate -cir-to-llvmir --disable-cc-lowering -o %t.ll %s
// RUN: FileCheck -check-prefix=LLVM --input-file=%t.ll %s
// CHECK: llvm.module_asm = [".globl bar", ".globl foo"]
// LLVM: module asm
// LLVM-NEXT: ".globl bar"
// LLVM-NEXT: ".globl foo"
module attributes {cir.module_asm = [".globl bar", ".globl foo"]} {
}