Files
swift-mirror/test/IDE/print_clang_header.swift
Argyrios Kyrtzidis 0de049b6b6 [test/IDE] Fix the test for non-osx targets.
rdar://20828828

Swift SVN r28198
2015-05-06 04:44:10 +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: }