diff options
Diffstat (limited to 'test/CodeGen/WebAssembly/comdat.ll')
| -rw-r--r-- | test/CodeGen/WebAssembly/comdat.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/WebAssembly/comdat.ll b/test/CodeGen/WebAssembly/comdat.ll new file mode 100644 index 0000000000000..8aa1af8667ae6 --- /dev/null +++ b/test/CodeGen/WebAssembly/comdat.ll @@ -0,0 +1,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. |
