Skip to content

Commit 28d6376

Browse files
authored
Merge pull request #85928 from hamishknight/overrun
[test] Add a couple more unterminated string delimiter test cases
2 parents 63abfab + d922287 commit 28d6376

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
// RUN: %empty-directory(%t)
22

3-
// RUN: echo '#"' > %t/main1.swift
4-
// RUN: echo -n '#"' > %t/main2.swift
3+
// RUN: echo '#"' > %t/main1.swift
4+
// RUN: echo -n '#"' > %t/main2.swift
5+
// RUN: echo '"""' > %t/main3.swift
6+
// RUN: echo -n '"""' > %t/main4.swift
7+
// RUN: echo '#"""' > %t/main5.swift
8+
// RUN: echo -n '#"""' > %t/main6.swift
59

610
// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib not %target-swift-frontend -typecheck %t/main1.swift
711
// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib not %target-swift-frontend -typecheck %t/main2.swift
12+
// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib not %target-swift-frontend -typecheck %t/main3.swift
13+
// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib not %target-swift-frontend -typecheck %t/main4.swift
14+
// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib not %target-swift-frontend -typecheck %t/main5.swift
15+
// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib not %target-swift-frontend -typecheck %t/main6.swift
816

917
// guardmalloc is incompatible with ASAN
1018
// REQUIRES: no_asan

0 commit comments

Comments
 (0)