Sign in
llvm
/
clang
/
7d0e090bbc61baebf0be18e4d9ba36615b6cd566
/
.
/
test
/
Lexer
/
warn_binary_literals.cpp
blob: d196be91b5b93d81ab5735e115b8df187d619a77 [
file
] [
log
] [
blame
]
// 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}}