[tests] Verify the libSyntax tree on SILGen tests

The SILGen testsuite consists of valid Swift code covering most language
features. We use these tests to verify that no unknown nodes are in the
file's libSyntax tree. That way we will (hopefully) catch any future
changes or additions to the language which are not implemented in
libSyntax.
This commit is contained in:
Alex Hoppen
2018-04-24 14:51:18 -07:00
parent 95a3a433ae
commit 560c22b18e
323 changed files with 437 additions and 431 deletions

View File

@@ -1,5 +1,5 @@
// RUN: %target-swift-frontend -module-name keypaths -emit-silgen -enable-sil-ownership %s | %FileCheck %s
// RUN: %target-swift-emit-silgen -module-name keypaths -enable-sil-ownership %s | %FileCheck %s
struct S<T> {
var x: T