10 lines
198 B
C++
10 lines
198 B
C++
|
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wno-c++11-narrowing -verify %s
|
||
|
// expected-no-diagnostics
|
||
|
|
||
|
// <rdar://problem/11121178>
|
||
|
void f(int x) {
|
||
|
switch (x) {
|
||
|
case 0x80000001: break;
|
||
|
}
|
||
|
}
|