Eli Friedman | 2b22a6e | 2012-03-29 23:39:39 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wno-c++11-narrowing -verify %s |
Andy Gibbs | c6e68da | 2012-10-19 12:44:48 +0000 | [diff] [blame^] | 2 | // expected-no-diagnostics |
Eli Friedman | 2b22a6e | 2012-03-29 23:39:39 +0000 | [diff] [blame] | 3 | |
4 | // <rdar://problem/11121178> | ||||
5 | void f(int x) { | ||||
6 | switch (x) { | ||||
7 | case 0x80000001: break; | ||||
8 | } | ||||
9 | } |