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