1 // RUN: %llvmgxx %s -O2 -S -o - | FileCheck %s
3 // This test verifies that we get expected codegen out of the -O2 optimization
4 // level from the full optimizer.
8 // Verify that ipsccp is running and can eliminate globals.
9 static int test1g
= 42;
11 if (test1g
== 0) test1g
= 0;
17 // CHECK: @_Z7test1f2v()
19 // CHECK-NEXT: ret i32 42