Files
swift-mirror/test/ClangImporter/Inputs/custom-modules/Warnings5.h
Jordan Rose dd2ebac40e [ClangImporter] Add missing end-iterator check in Clang diag emission (#15006)
This caused non-deterministic crashes when a high number of modules
containing diagnostics were compiled for the first time. The 9-entry
test case results in a crash on 64-bit macOS when run under Guard
Malloc without this change.

rdar://problem/33515925
2018-03-06 08:49:09 -08:00

5 lines
84 B
C

extern void old() __attribute__((deprecated));
static void warnings5() {
old();
}