aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/expr/expr.const/p3-0x-nowarn.cpp
blob: 7d12cedeacf050070081b4d90fe4cbc134519af7 (plain) (blame)
1
2
3
4
5
6
7
8
9
// 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;
  }
}