Sign in
fuchsia
/
third_party
/
llvm-project
/
c3fd2a50ba1395b6c2240f6a688c6a1aa975a1fe
/
.
/
clang
/
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}}