Add a new attribute called 'jumptable' that creates jump-instruction tables for funct...
[oota-llvm.git] / test / Verifier / jumptable.ll
1 ; RUN: not llc <%s 2>&1 | FileCheck %s
2
3 define i32 @f() jumptable {
4   ret i32 0
5 }
6
7 ; CHECK: Attribute 'jumptable' requires 'unnamed_addr'
8 ; CHECK: i32 ()* @f
9 ; CHECK: LLVM ERROR: Broken function found, compilation aborted!