File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ // RUN: rm -rf %t && mkdir -p %t
2
+ // RUN: %target-build-swift -O -g -module-name foo -emit-assembly %s > %t/run-1.S
3
+ // RUN: %target-build-swift -O -g -module-name foo -emit-assembly %s > %t/run-2.S
4
+ // RUN: diff -u %t/run-1.S %t/run-2.S
5
+ print ( " foo " )
Original file line number Diff line number Diff line change
1
+ // RUN: rm -rf %t && mkdir -p %t
2
+ // RUN: %target-build-swift -O -g -module-name foo -emit-ir %s > %t/run-1.ir
3
+ // RUN: %target-build-swift -O -g -module-name foo -emit-ir %s > %t/run-2.ir
4
+ // RUN: diff -u %t/run-1.ir %t/run-2.ir
5
+ print ( " foo " )
Original file line number Diff line number Diff line change
1
+ // RUN: rm -rf %t && mkdir -p %t
2
+ // RUN: %target-build-swift -O -g -module-name foo -emit-silgen %s > %t/run-1.silgen
3
+ // RUN: %target-build-swift -O -g -module-name foo -emit-silgen %s > %t/run-2.silgen
4
+ // RUN: diff -u %t/run-1.silgen %t/run-2.silgen
5
+ print ( " foo " )
You can’t perform that action at this time.
0 commit comments