summaryrefslogtreecommitdiffstats
path: root/test/Assembler/2006-12-09-Cast-To-Bool.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2006-12-09-Cast-To-Bool.ll')
-rw-r--r--test/Assembler/2006-12-09-Cast-To-Bool.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Assembler/2006-12-09-Cast-To-Bool.ll b/test/Assembler/2006-12-09-Cast-To-Bool.ll
index 3fc4d23..a70262c 100644
--- a/test/Assembler/2006-12-09-Cast-To-Bool.ll
+++ b/test/Assembler/2006-12-09-Cast-To-Bool.ll
@@ -1,5 +1,6 @@
; RUN: llvm-as < %s | llvm-dis | grep bitcast
-define i1 %main(i32 %X) {
+
+define i1 @main(i32 %X) {
%res = bitcast i1 true to i1
ret i1 %res
}