Skip to content

Commit f62cb8f

Browse files
committed
[test] Use guard malloc in 4c84d3d852cdd1d4.swift
This should hopefully make it crash reliably.
1 parent 5276f2e commit f62cb8f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// {"signature":"swift::ProtocolConformanceRef::forAbstract(swift::Type, swift::ProtocolDecl*)"}
2-
// RUN: not --crash %target-swift-frontend -typecheck %s
2+
// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib not --crash %target-swift-frontend -typecheck %s
3+
// REQUIRES: OS=macosx
4+
// REQUIRES: target-same-as-host
5+
// REQUIRES: no_asan
36
var sixDoubles
47
: Double "six has the value [\( ( sixDoubles \[]) }0 \0\0 \0 \sixDoubles)"

0 commit comments

Comments
 (0)