Merge pull request #80046 from rintaro/old-ownership-spellings

[ASTGen] map oldOwnershipOperatorSpellings feature flag
This commit is contained in:
Rintaro Ishizaki
2025-03-17 14:55:31 -07:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -1,16 +1,19 @@
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend-dump-parse -target %target-swift-5.1-abi-triple -enable-experimental-move-only -enable-experimental-feature ParserASTGen \
// RUN: -enable-experimental-feature OldOwnershipOperatorSpellings \
// RUN: | %sanitize-address > %t/astgen.ast
// RUN: %target-swift-frontend-dump-parse -target %target-swift-5.1-abi-triple -enable-experimental-move-only \
// RUN: -enable-experimental-feature OldOwnershipOperatorSpellings \
// RUN: | %sanitize-address > %t/cpp-parser.ast
// RUN: %diff -u %t/astgen.ast %t/cpp-parser.ast
// RUN: %target-run-simple-swift(-target %target-swift-5.1-abi-triple -enable-experimental-feature ParserASTGen)
// RUN: %target-run-simple-swift(-target %target-swift-5.1-abi-triple -enable-experimental-feature OldOwnershipOperatorSpellings -enable-experimental-feature ParserASTGen)
// REQUIRES: executable_test
// REQUIRES: swift_swift_parser
// REQUIRES: swift_feature_ParserASTGen
// REQUIRES: swift_feature_OldOwnershipOperatorSpellings
// rdar://116686158
// UNSUPPORTED: asan