mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Such tests would fail with the -allow-unused-prefixes FileCheck option. diff --git a/test/lit.cfg b/test/lit.cfg -run_filecheck = '%s %s --sanitize BUILD_DIR=%s --sanitize SOURCE_DIR=%s --use-filecheck %s %s' % ( +run_filecheck = '%s %s --sanitize BUILD_DIR=%s --sanitize SOURCE_DIR=%s --use-filecheck %s %s -allow-unused-prefixes=false' % ( It helps avoiding some wrong CHECK patterns. I just looked briefly at some of the fails. TODO: fix remaining tests, too. rdar://74189761
7 lines
194 B
Swift
7 lines
194 B
Swift
// Test protocol_lookup.swift in JIT mode.
|
|
// RUN: %swift -interpret %S/protocol_lookup.swift | %FileCheck %S/protocol_lookup.swift
|
|
// REQUIRES: executable_test
|
|
|
|
// REQUIRES: swift_interpreter
|
|
|