From 2440c48f1c0da25f3ef897e8e5ce604a6fdcfcf9 Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Thu, 4 Dec 2014 17:15:27 +0300 Subject: [PATCH] Added description of 'FILE' directive for diagnostic tests --- compiler/testData/diagnostics/ReadMe.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/compiler/testData/diagnostics/ReadMe.md b/compiler/testData/diagnostics/ReadMe.md index 014110bb098..78ed94e36c9 100644 --- a/compiler/testData/diagnostics/ReadMe.md +++ b/compiler/testData/diagnostics/ReadMe.md @@ -41,4 +41,15 @@ With that, an exact type of an expression can be checked in the following way: #### Usage: - // !CHECK_TYPE \ No newline at end of file + // !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 */ \ No newline at end of file