We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 979fa49 commit ad1bd8eCopy full SHA for ad1bd8e
test/Interop/Cxx/class/Inputs/mutability-annotations.h
@@ -25,7 +25,7 @@ struct HasMutableProperty {
25
26
int noAnnotation() const { return b; }
27
28
- // expected-warning@+1 {{attribute 'nonmutating' is ignored when combined with attribute 'mutating'}}
+ // expected-warning@+1 {{attribute 'mutating' is ignored when combined with attribute 'nonmutating'}}
29
int contradictingAnnotations() const __attribute__((__swift_attr__("nonmutating"))) __attribute__((__swift_attr__("mutating"))) {
30
return b;
31
}
0 commit comments