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