Commit Graph

2 Commits

Author SHA1 Message Date
Saleem Abdulrasool
f8ab2070a6 test: adjust declaration to be portable (NFCI)
`long` is teated as `Int32` on Windows x86_64.  `intptr_t` will be
mapped to `Int` and `Int64`.  This fixes the failing test on Windows
which is LLP64 and should be equivalent on LP64 targets.
2019-07-28 11:25:17 -07:00
Jordan Rose
a19cf7b183 Allow designated initializers outside the ClassDecl
Objective-C allows this in "class extensions" (nameless categories);
what's worse is that it's actually useful-ish sometimes: when you want
to put a particular initializer in an explicit submodule, or only
expose it to the current target.

rdar://problem/37173549
2018-03-19 16:36:40 -07:00