You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
239 B

// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -Wc++14-binary-literal
// RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify %s -Wc++14-extensions
int x = 0b11;
// expected-warning@-1{{binary integer literals are a C++14 extension}}