Skip to content

Commit ad1bd8e

Browse files
authored
Update mutability-annotations.h
1 parent 979fa49 commit ad1bd8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/class/Inputs/mutability-annotations.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct HasMutableProperty {
2525

2626
int noAnnotation() const { return b; }
2727

28-
// expected-warning@+1 {{attribute 'nonmutating' is ignored when combined with attribute 'mutating'}}
28+
// expected-warning@+1 {{attribute 'mutating' is ignored when combined with attribute 'nonmutating'}}
2929
int contradictingAnnotations() const __attribute__((__swift_attr__("nonmutating"))) __attribute__((__swift_attr__("mutating"))) {
3030
return b;
3131
}

0 commit comments

Comments
 (0)