bolt/deps/llvm-18.1.8/clang/test/CXX/expr/expr.const/p3-0x-nowarn.cpp

9 lines
169 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wno-c++11-narrowing -verify %s
// expected-no-diagnostics
void f(int x) {
switch (x) {
case 0x80000001: break;
}
}