1 // RUN: %clang_cc1 -cfguard-no-checks -emit-llvm %s -o - | FileCheck %s -check-prefix=CFGUARDNOCHECKS
2 // RUN: %clang_cc1 -cfguard -emit-llvm %s -o - | FileCheck %s -check-prefix=CFGUARD
3 
4 void f() {}
5 
6 // Check that the cfguard metadata flag gets correctly set on the module.
7 // CFGUARDNOCHECKS: !"cfguard", i32 1}
8 // CFGUARD: !"cfguard", i32 2}
9