File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ split_embedded_sources(
9393 EMBEDDED Identifiable.swift
9494 EMBEDDED Indices.swift
9595 EMBEDDED InputStream.swift
96- NORMAL IntegerParsing.swift
96+ EMBEDDED IntegerParsing.swift
9797 EMBEDDED Integers.swift
9898 NORMAL Join.swift
9999 EMBEDDED KeyPath.swift
Original file line number Diff line number Diff line change 1+ // RUN: %target-run-simple-swift(-Osize -swift-version 5 -enable-experimental-feature Embedded -parse-as-library -runtime-compatibility-version none -wmo) | %FileCheck %s
2+
3+ // REQUIRES: swift_in_compiler
4+ // REQUIRES: executable_test
5+ // REQUIRES: optimized_stdlib
6+ // REQUIRES: OS=macosx || OS=linux-gnu
7+ // REQUIRES: swift_feature_Embedded
8+
9+ @main
10+ struct Main {
11+ static func main( ) {
12+ print ( Int ( " 42 " ) !)
13+ // CHECK: 42
14+ print ( Int ( " -123 " ) !)
15+ // CHECK: -123
16+ print ( Int ( " 1000 " , radix: 16 ) !)
17+ // CHECK: 4096
18+ }
19+ }
You can’t perform that action at this time.
0 commit comments