summaryrefslogtreecommitdiff
path: root/test/CXX/expr/expr.const/p3-0x-nowarn.cpp
blob: c891374519fba0507d47035da959a663ccec10dd (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wno-c++11-narrowing -verify %s

// <rdar://problem/11121178>
void f(int x) {
  switch (x) {
    case 0x80000001: break;
  }
}