Files
swift-mirror/test/Interop/C/macros/redefined-macro.swift
zoecarver e639caeeea [cxx-interop] Bail on redefined macros.
This is a stop-gap fix to prevent an infinite loop. Refs SR-13828.
2020-11-11 11:08:40 -08:00

11 lines
283 B
Swift

// RUN: %target-swift-ide-test -print-module -module-to-print=RedefinedMacro -I %S/Inputs -source-filename=x | %FileCheck %s
// We cannot import redefined macros.
// CHECK-NOT: FOO
// CHECK-NOT: TMP_FOO
// CHECK-NOT: THREE
// CHECK-NOT: THE_MAX
// CHECK: var BAR
// CHECK: var BAZ