Files
swift-mirror/validation-test/parser/parse_stdlib.sil
Jordan Rose cb702a9035 [test] parse_stdlib.sil should parse the current target's standard library.
I'm not sure how this ever worked -- it was previously always parsing the
OS X standard library but with the current target's triple.

Should fix the buildbot.

Swift SVN r24472
2015-01-16 04:24:23 +00:00

6 lines
353 B
Plaintext

// Make sure that we can parse the stdlib.sil deserialized from Swift.swiftmodule.
// RUN: rm -f %t.*
// RUN: %sil-opt -sil-disable-ast-dump -verify %libdir/swift/%target-sdk-name/$(test "%target-ptrsize" == "64" || echo %target-ptrsize)/Swift.swiftmodule -module-name=Swift -target=%target-triple -o %t.sil
// RUN: %sil-opt -verify %t.sil > /dev/null