fix PR5295 where the .ll parser didn't reject a function after a global
[oota-llvm.git] / test / CodeGen / CPP / llvm2cpp.ll
index 447f332b269e0bec6011495e1b97bdf52158e5fd..d0ba0cfac3125bd1c8c17b086917314bd0393402 100644 (file)
@@ -273,7 +273,7 @@ define i32 @foozball(i32) {
 @A = global i32* @B            ; <i32**> [#uses=0]
 @B = global i32 7              ; <i32*> [#uses=1]
 
-define void @X() {
+define void @test12312() {
        ret void
 }
 ; ModuleID = 'global_section.ll'