1 ; RUN: llvm-as %s -o %t.o
2 ; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -stats -o %t.dylib %t.o 2>&1 | FileCheck --check-prefix=STATS %s
3 ; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -o %t.dylib %t.o 2>&1 | FileCheck --check-prefix=NO_STATS %s
6 target triple = "x86_64-apple-macosx10.8.0"
8 ; STATS: Statistics Collected
9 ; NO_STATS-NOT: Statistics Collected