Skip to content

Commit 323721b

Browse files
committed
Fix verify-broken-c-module to work on macOS.
Shorten expected error message so that it doesn't expect "C module" (and breaks if presented with "Objective-C module").
1 parent f51f632 commit 323721b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Frontend/verify-broken-c-module.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// RUN: not %target-typecheck-verify-swift -I %S/Inputs/broken-c-module 2>&1 | %FileCheck %s
77

8-
// CHECK: [[@LINE+3]]:8: error: unexpected error produced: could not build C module
8+
// CHECK: [[@LINE+3]]:8: error: unexpected error produced: could not build
99
// CHECK: note: in file included from <module-includes>
1010
// CHECK: broken_c.h:2:11: error: expected function body after function declarator
1111
import BrokenCModule

0 commit comments

Comments
 (0)