llvm.org GIT mirror llvm / release_60 test / CodeGen / WebAssembly / comdat.ll
release_60

Tree @release_60 (Download .tar.gz)

comdat.ll @release_60raw · history · blame

1
2
3
4
5
; RUN: not llc < %s -mtriple wasm32-unknown-unknown-wasm 2>&1 | FileCheck %s

$f = comdat any
@f = global i32 0, comdat
; CHECK: LLVM ERROR: WebAssembly doesn't support COMDATs, 'f' cannot be lowered.