aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/attr-naked.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/attr-naked.c')
-rw-r--r--test/CodeGen/attr-naked.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/attr-naked.c b/test/CodeGen/attr-naked.c
index 8490d463a2..c07dd8d373 100644
--- a/test/CodeGen/attr-naked.c
+++ b/test/CodeGen/attr-naked.c
@@ -4,15 +4,15 @@ void t1() __attribute__((naked));
// Basic functionality check
// (Note that naked needs to imply noinline to work properly.)
-// CHECK: define void @t1() #0 {
+// CHECK: define void @t1() [[NAKED:#[0-9]+]] {
void t1()
{
}
// Make sure this doesn't explode in the verifier.
// (It doesn't really make sense, but it isn't invalid.)
-// CHECK: define void @t2() #0 {
+// CHECK: define void @t2() [[NAKED]] {
__attribute((naked, always_inline)) void t2() {
}
-// CHECK: attributes #0 = { naked noinline nounwind "target-features"={{.*}} }
+// CHECK: attributes [[NAKED]] = { naked noinline nounwind{{.*}} }