[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / AST / ast-print-no-sanitize.cpp
blob4ff97190955addaab48d3d262aeb654fe6d50ddb
1 // RUN: %clang_cc1 -std=c++11 -ast-print %s -o - | FileCheck %s
3 void should_not_crash_1() __attribute__((no_sanitize_memory));
4 [[clang::no_sanitize_memory]] void should_not_crash_2();
6 // CHECK: void should_not_crash_1() __attribute__((no_sanitize("memory")));
7 // CHECK: void should_not_crash_2() {{\[\[}}clang::no_sanitize("memory"){{\]\]}};