Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight...
[oota-llvm.git] / test / Assembler / 2007-01-02-Undefined-Arg-Type.ll
1 ; The assembler should catch an undefined argument type .
2 ; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
3
4 ; CHECK: use of undefined type named 'typedef.bc_struct'
5
6 ; %typedef.bc_struct = type opaque
7
8
9 define i1 @someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) {
10         ret i1 true
11 }