Evan Cheng | 7276c8c | 2010-02-01 22:40:09 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu |
2 | ; PR6196 | ||||
3 | |||||
4 | %"char[]" = type [1 x i8] | ||||
5 | |||||
6 | @.str = external constant %"char[]", align 1 ; <%"char[]"*> [#uses=1] | ||||
7 | |||||
8 | define i32 @regex_subst() nounwind { | ||||
9 | entry: | ||||
10 | %0 = tail call i32 bitcast (%"char[]"* @.str to i32 (i32)*)(i32 0) nounwind ; <i32> [#uses=1] | ||||
11 | ret i32 %0 | ||||
12 | } |