From 4c9e695f1fb378455be5419564b1a62f1e7c2b9f Mon Sep 17 00:00:00 2001 From: Gabor Horvath Date: Mon, 1 Sep 2025 13:08:28 +0100 Subject: [PATCH] Test new @_expose(!Cxx) attribute syntax Seems to work out of the box --- Tests/SwiftParserTest/AttributeTests.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tests/SwiftParserTest/AttributeTests.swift b/Tests/SwiftParserTest/AttributeTests.swift index 9ee34b05332..98cadfc7318 100644 --- a/Tests/SwiftParserTest/AttributeTests.swift +++ b/Tests/SwiftParserTest/AttributeTests.swift @@ -579,6 +579,12 @@ final class AttributeTests: ParserTestCase { """ ) + assertParse( + """ + @_expose(!Cxx) func foo() {} + """ + ) + assertParse( """ @_expose(Cxx, "baz") func foo() {}