1 ; Test that the PutsOptimizer works correctly
2 ; RUN: opt < %s -simplify-libcalls -S | FileCheck %s
4 target datalayout = "-p:64:64:64"
6 @.str = private constant [1 x i8] zeroinitializer
12 ; CHECK: call i32 @putchar(i32 10)
13 %call = call i32 @puts(i8* getelementptr inbounds ([1 x i8]* @.str, i32 0, i32 0))