llvm-project/clang/test/CodeGen/profile-sample-accurate.c
Hans Wennborg 8f1559c238 Fix the test fix from r312181
llvm-svn: 312193
2017-08-30 23:26:38 +00:00

8 lines
256 B
C

// Test to ensure -emit-llvm profile-sample-accurate is honored by clang.
// RUN: %clang -S -emit-llvm %s -fprofile-sample-accurate -o - | FileCheck %s
// CHECK: define{{.*}} void @foo()
// CHECK: attributes{{.*}} "profile-sample-accurate"
void foo() {
}