File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
SwiftCompilerSources/Sources/SIL Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 2828// This is done via the specify_test instruction. Using one or more instances
2929// of it in your test case's SIL function, you can specify which test (instance
3030// of FunctionTest) should be run and what arguments should be provided to it.
31+ // For full details of the specify_test instruction's grammar, see SIL.rst.
32+ //
3133// The test grabs the arguments it expects out of the TestArguments instance
3234// it is provided. It calls some function or functions. It then prints out
3335// interesting results. These results can then be FileCheck'd.
Original file line number Diff line number Diff line change 2626// of a function. The goal is to get the same effect as calling a function and
2727// checking its output.
2828//
29- // This is done via the specify_test instruction. Using one or more
30- // instances of it in your test case's SIL function, you can specify which test
31- // (instance of FunctionTest) should be run and what arguments should be
32- // provided to it. The test grabs the arguments it expects out of the
33- // test::Arguments instance it is provided. It calls some function or
34- // functions. It then prints out interesting results. These results can then
35- // be FileCheck'd.
29+ // This is done via the specify_test instruction. Using one or more instances
30+ // of it in your test case's SIL function, you can specify which test (instance
31+ // of FunctionTest) should be run and what arguments should be provided to it.
32+ // For full details of the specify_test instruction's grammar, see SIL.rst.
33+ //
34+ // The test grabs the arguments it expects out of the test::Arguments instance
35+ // it is provided. It calls some function or functions. It then prints out
36+ // interesting results. These results can then be FileCheck'd.
3637//
3738// CASE STUDY:
3839// Here's an example of how it works:
You can’t perform that action at this time.
0 commit comments