Skip to content

Commit 4c9e695

Browse files
author
Gabor Horvath
committed
Test new @_expose(!Cxx) attribute syntax
Seems to work out of the box
1 parent 7f1b768 commit 4c9e695

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Tests/SwiftParserTest/AttributeTests.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,12 @@ final class AttributeTests: ParserTestCase {
579579
"""
580580
)
581581

582+
assertParse(
583+
"""
584+
@_expose(!Cxx) func foo() {}
585+
"""
586+
)
587+
582588
assertParse(
583589
"""
584590
@_expose(Cxx, "baz") func foo() {}

0 commit comments

Comments
 (0)