blob: 7ddb8d3f9450160a431079f4bb56388bdf95b368 [file] [log] [blame]
Matt Arsenaulte5317502019-10-26 17:15:10 -07001// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -fconvergent-functions -o - < %s | FileCheck -check-prefix=CONVFUNC %s
2// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -o - < %s | FileCheck -check-prefix=NOCONVFUNC %s
3
4// Test that the -fconvergent-functions flag works
5
6// CONVFUNC: attributes #0 = { convergent {{.*}} }
7// NOCONVFUNC-NOT: convergent
8void func() { }