Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Sema / no_stack_protector.cpp
blob160e3d32a9389a782da8c7a0f9b769ba44211306
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2 // expected-no-diagnostics
4 [[gnu::no_stack_protector]] void test1() {}
5 [[clang::no_stack_protector]] void test2() {}