Skip to content

Commit 52d50fb

Browse files
committed
tests: be even more permissive on attributes in one test
1 parent d94d17c commit 52d50fb

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

tests/codegen/stack-protector.rs

+17-17
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@
1010
pub fn foo() {
1111
// CHECK: @foo() unnamed_addr #0
1212

13-
// all-NOT: attributes #0 = { {{.*}} sspstrong {{.*}} }
14-
// all-NOT: attributes #0 = { {{.*}} ssp {{.*}} }
15-
// all: attributes #0 = { {{.*}} sspreq {{.*}} }
16-
// all-NOT: attributes #0 = { {{.*}} sspstrong {{.*}} }
17-
// all-NOT: attributes #0 = { {{.*}} ssp {{.*}} }
13+
// all-NOT: attributes #0 = { {{.*}}sspstrong {{.*}} }
14+
// all-NOT: attributes #0 = { {{.*}}ssp {{.*}} }
15+
// all: attributes #0 = { {{.*}}sspreq {{.*}} }
16+
// all-NOT: attributes #0 = { {{.*}}sspstrong {{.*}} }
17+
// all-NOT: attributes #0 = { {{.*}}ssp {{.*}} }
1818

19-
// strong-NOT: attributes #0 = { {{.*}} sspreq {{.*}} }
20-
// strong-NOT: attributes #0 = { {{.*}} ssp {{.*}} }
21-
// strong: attributes #0 = { {{.*}} sspstrong {{.*}} }
22-
// strong-NOT: attributes #0 = { {{.*}} sspreq {{.*}} }
23-
// strong-NOT: attributes #0 = { {{.*}} ssp {{.*}} }
19+
// strong-NOT: attributes #0 = { {{.*}}sspreq {{.*}} }
20+
// strong-NOT: attributes #0 = { {{.*}}ssp {{.*}} }
21+
// strong: attributes #0 = { {{.*}}sspstrong {{.*}} }
22+
// strong-NOT: attributes #0 = { {{.*}}sspreq {{.*}} }
23+
// strong-NOT: attributes #0 = { {{.*}}ssp {{.*}} }
2424

25-
// basic-NOT: attributes #0 = { {{.*}} sspreq {{.*}} }
26-
// basic-NOT: attributes #0 = { {{.*}} sspstrong {{.*}} }
25+
// basic-NOT: attributes #0 = { {{.*}}sspreq {{.*}} }
26+
// basic-NOT: attributes #0 = { {{.*}}sspstrong {{.*}} }
2727
// basic: attributes #0 = { {{.*}}ssp {{.*}} }
28-
// basic-NOT: attributes #0 = { {{.*}} sspreq {{.*}} }
29-
// basic-NOT: attributes #0 = { {{.*}} sspstrong {{.*}} }
28+
// basic-NOT: attributes #0 = { {{.*}}sspreq {{.*}} }
29+
// basic-NOT: attributes #0 = { {{.*}}sspstrong {{.*}} }
3030

31-
// none-NOT: attributes #0 = { {{.*}} sspreq {{.*}} }
32-
// none-NOT: attributes #0 = { {{.*}} sspstrong {{.*}} }
33-
// none-NOT: attributes #0 = { {{.*}} ssp {{.*}} }
31+
// none-NOT: attributes #0 = { {{.*}}sspreq {{.*}} }
32+
// none-NOT: attributes #0 = { {{.*}}sspstrong {{.*}} }
33+
// none-NOT: attributes #0 = { {{.*}}ssp {{.*}} }
3434
}

0 commit comments

Comments
 (0)