llvm-project/clang/test/Frontend/invalid-o-level.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
209 B
C
Raw Normal View History

// 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