mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user