mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This option stopped working when clang changed its default behaviour to -fmodules-validate-system-headers; we now need to explicitly disable it to preserve the behaviour of our flag. rdar://problem/50908762
8 lines
456 B
Swift
8 lines
456 B
Swift
// RUN: %target-swift-frontend %s -parse -dump-clang-diagnostics 2>&1 | %FileCheck %s -check-prefix=DEFAULT
|
|
// DEFAULT: -fmodules-validate-system-headers
|
|
// DEFAULT-NOT: -fno-modules-validate-system-headers
|
|
|
|
// RUN: %target-swift-frontend %s -parse -dump-clang-diagnostics -disable-modules-validate-system-headers 2>&1 | %FileCheck %s -check-prefix=DISABLE
|
|
// DISABLE: -fno-modules-validate-system-headers
|
|
// DISABLE-NOT: -fmodules-validate-system-headers
|