You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
322 B
11 lines
322 B
4 months ago
|
// Test that we parse and translate the -O option correctly.
|
||
|
|
||
|
// RUN: %clang -O -### %s 2>&1 | FileCheck -check-prefix=CHECK-O %s
|
||
|
// CHECK-O: -O2
|
||
|
|
||
|
// RUN: %clang -O0 -### %s 2>&1 | FileCheck -check-prefix=CHECK-O0 %s
|
||
|
// CHECK-O0: -O0
|
||
|
|
||
|
// RUN: %clang -O1 -### %s 2>&1 | FileCheck -check-prefix=CHECK-O1 %s
|
||
|
// CHECK-O1: -O1
|