Added description of 'FILE' directive for diagnostic tests
This commit is contained in:
@@ -41,4 +41,15 @@ With that, an exact type of an expression can be checked in the following way:
|
|||||||
|
|
||||||
#### Usage:
|
#### Usage:
|
||||||
|
|
||||||
// !CHECK_TYPE
|
// !CHECK_TYPE
|
||||||
|
|
||||||
|
### 3. FILE
|
||||||
|
|
||||||
|
The directive let you compose a test consisting of several files in one actual file.
|
||||||
|
|
||||||
|
#### Usage:
|
||||||
|
// FILE: A.java
|
||||||
|
/* Java code */
|
||||||
|
|
||||||
|
// FILE: B.kt
|
||||||
|
/* kotlin code */
|
||||||
Reference in New Issue
Block a user