llvm-project/clang/test/CodeGenCXX/pragma-strict_gs_check.cpp
2022-09-19 20:07:14 +00:00

12 lines
285 B
C++

// RUN: %clang_cc1 %s -triple=i686-pc-win32 -fms-extensions -stack-protector 2 -emit-llvm -o - | FileCheck %s
#pragma strict_gs_check(on)
extern "C" void test0() {
}
// CHECK: define {{.*}} @test0() #[[ATTR_TEST0:[0-9]*]] {
// CHECK: attributes #[[ATTR_TEST0]] = {{.*}} sspstrong