You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
375 B
9 lines
375 B
7 months ago
|
// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -fconvergent-functions -o - < %s | FileCheck -check-prefix=CONVFUNC %s
|
||
|
// RUN: %clang_cc1 -triple i386-pc-win32 -emit-llvm -o - < %s | FileCheck -check-prefix=NOCONVFUNC %s
|
||
|
|
||
|
// Test that the -fconvergent-functions flag works
|
||
|
|
||
|
// CONVFUNC: attributes #0 = { convergent {{.*}} }
|
||
|
// NOCONVFUNC-NOT: convergent
|
||
|
void func() { }
|