Home | History | Annotate | Download | only in Driver
      1 // Check that -O4 is only honored as the effective -O option.
      2 // <rdar://problem/7046672> clang/loader problem
      3 
      4 // RUN: %clang -ccc-print-phases -c -O4 -O0 %s 2> %t
      5 // RUN: FileCheck --check-prefix=O4_AND_O0 %s < %t
      6 
      7 // O4_AND_O0: 0: input, "{{.*}}", c
      8 // O4_AND_O0: 1: preprocessor, {0}, cpp-output
      9 // O4_AND_O0: 2: compiler, {1}, assembler
     10 // O4_AND_O0: 3: assembler, {2}, object
     11