• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -Wc++14-binary-literal
2 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -Wc++14-extensions
3 
4 int x = 0b11;
5 // expected-warning@-1{{binary integer literals are a C++14 extension}}
6