xref: /aosp_15_r20/external/clang/test/CXX/expr/expr.const/p3-0x-nowarn.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wno-c++11-narrowing -verify %s
2 // expected-no-diagnostics
3 
4 // <rdar://problem/11121178>
f(int x)5 void f(int x) {
6   switch (x) {
7     case 0x80000001: break;
8   }
9 }
10