File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/Parse/ConditionalCompilation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ struct S {
87
87
88
88
#endif
89
89
90
- #if arch(leg ) // expected-warning {{unknown architecture for build configuration 'arch'}} expected-note{{did you mean 'arm'?}} {{10-13=arm}}
90
+ #if arch(arn ) // expected-warning {{unknown architecture for build configuration 'arch'}} expected-note{{did you mean 'arm'?}} {{10-13=arm}}
91
91
#endif
92
92
93
93
#if _endian(mid) // expected-warning {{unknown endianness for build configuration '_endian'}} expected-note{{did you mean 'big'?}} {{13-16=big}}
@@ -123,7 +123,7 @@ undefinedFunc() // expected-error {{cannot find 'undefinedFunc' in scope}}
123
123
#endif
124
124
125
125
/// Invalid platform condition arguments don't invalidate the whole condition.
126
- #if !arch(tecture ) && !os(ystem) && !_endian(ness)
126
+ #if !arch(arn ) && !os(ystem) && !_endian(ness)
127
127
// expected-warning@-1 {{unknown architecture for build configuration 'arch'}}
128
128
// expected-note@-2 {{did you mean 'arm'?}} {{11-18=arm}}
129
129
// expected-warning@-3 {{unknown operating system for build configuration 'os'}}
@@ -136,7 +136,7 @@ func fn_k() {}
136
136
#endif
137
137
fn_k ( )
138
138
139
- #if os(cillator) || arch(ive )
139
+ #if os(cillator) || arch(arn )
140
140
// expected-warning@-1 {{unknown operating system for build configuration 'os'}}
141
141
// expected-note@-2 {{did you mean 'macOS'?}} {{8-16=macOS}}
142
142
// expected-note@-3 {{did you mean 'iOS'?}} {{8-16=iOS}}
You can’t perform that action at this time.
0 commit comments