llvm-for-llvmta/tools/clang/test/Frontend/invalid-o-level.c

6 lines
209 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -O900 -o /dev/null 2>&1 | FileCheck %s
// RUN: %clang_cc1 %s -O8 -o /dev/null 2>&1 | FileCheck %s
// CHECK: warning: optimization level '-O{{.*}}' is not supported; using '-O3' instead