brintos

brintos / llvm-project-archived public Read only

0
0
Text · 322 B · 0b68ee0 Raw
11 lines · c
1// Test that we parse and translate the -O option correctly.2 3// RUN: %clang -O -### %s 2>&1 | FileCheck -check-prefix=CHECK-O %s4// CHECK-O: -O15 6// RUN: %clang -O0 -### %s 2>&1 | FileCheck -check-prefix=CHECK-O0 %s7// CHECK-O0: -O08 9// RUN: %clang -O1 -### %s 2>&1 | FileCheck -check-prefix=CHECK-O1 %s10// CHECK-O1: -O111