Files
swift-mirror/test/SIL/Parser/string_literal.sil
Michael Gottesman fd4828e40a Eliminate -assume-parsing-unqualified-ownership-sil from tests.
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00

12 lines
305 B
Plaintext

// RUN: %target-sil-opt %s
sil @test : $@convention(thin) () -> () {
bb0:
// CHECK: string_literal utf8 "\u{0B}"
%1 = string_literal utf8 "\u{0B}"
// CHECK: string_literal bytes "ABCD"
%4 = string_literal bytes "ABCD"
%6 = tuple () // user: %7
return %6 : $()
}