mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 14:06:07 +00:00

We were checking the value after truncating it to a bitfield. Thanks to Yunzhong Gao for noticing it. llvm-svn: 224378
6 lines
209 B
C
6 lines
209 B
C
// 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
|