Files
swift-mirror/test/IDE/print_clang_header.swift
Ted Kremenek a6bf5f919f Revert "[test] Use '-target' for cc args as well."
This is breaking the iOS bots.

Swift SVN r28215
2015-05-06 20:00:53 +00:00

16 lines
552 B
Swift

// RUN: echo '#include "header.h"' > %t.m
// RUN: %target-swift-ide-test -source-filename %s -print-header -header-to-print %S/Inputs/header.h --cc-args -Xclang -triple -Xclang %target-triple -fsyntax-only %t.m -I %S/Inputs > %t.txt
// RUN: FileCheck -input-file=%t.txt %s
// CHECK: func doSomethingInHead(arg: Int32)
// CHECK: class BaseInHead {
// CHECK: class func doIt(arg: Int32)
// CHECK: func doIt(arg: Int32)
// CHECK: }
// CHECK: /// Awesome name.
// CHECK: class SameName {
// CHECK: }
// CHECK: protocol SameNameProtocol {
// CHECK: }