We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896c464 commit 5bb4f6eCopy full SHA for 5bb4f6e
test/SourceKit/InterfaceGen/gen_header.swift
@@ -10,4 +10,5 @@
10
11
// RUN: echo '#include "header2.h"' > %t.m
12
// RUN: %sourcekitd-test -req=interface-gen -header %S/Inputs/header2.h -swift-version=4 -- -fsyntax-only %t.m -I %S/Inputs > %t.header2.swift4.response
13
-// RUN: diff -u %s.header2.swift4.response %t.header2.swift4.response
+// RUN: %FileCheck -input-file %t.header2.swift4.response %s -check-prefix=SWIFT4
14
+// SWIFT4: public func show_only_for_swift_4()
test/SourceKit/InterfaceGen/gen_header.swift.header2.swift4.response
0 commit comments