xref: /minix3/external/bsd/llvm/dist/llvm/test/CodeGen/X86/nonconst-static-ev.ll (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*f4a2713aSLionel Sambuc; RUN: not llc -march=x86 -mtriple=x86_64-linux-gnu < %s 2> %t
2*f4a2713aSLionel Sambuc; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
3*f4a2713aSLionel Sambuc
4*f4a2713aSLionel Sambuc@0 = global i8 extractvalue ([1 x i8] select (i1 ptrtoint (i32* @1 to i1), [1 x i8] [ i8 1 ], [1 x i8] [ i8 2 ]), 0)
5*f4a2713aSLionel Sambuc@1 = external global i32
6*f4a2713aSLionel Sambuc
7*f4a2713aSLionel Sambuc; CHECK-ERRORS: Unsupported expression in static initializer: extractvalue
8*f4a2713aSLionel Sambuc
9