xref: /llvm-project/llvm/test/Transforms/EmbedBitcode/embed-multiple.ll (revision 75a1797044fc049438bdfd1edaf16afa90fcfe24)
1*75a17970SPaul Kirth; RUN: not opt --mtriple x86_64-unknown-linux-gnu < %s -passes=embed-bitcode -S 2>&1 | FileCheck %s
2*75a17970SPaul Kirth
3*75a17970SPaul Kirth@a = global i32 1
4*75a17970SPaul Kirth@llvm.embedded.module = private constant [4 x i8] c"BC\C0\DE"
5*75a17970SPaul Kirth
6*75a17970SPaul Kirth; CHECK: LLVM ERROR: Can only embed the module once
7