Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Lexer / warn_binary_literals.cpp
blobd196be91b5b93d81ab5735e115b8df187d619a77
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
4 int x = 0b11;
5 // expected-warning@-1{{binary integer literals are a C++14 extension}}