Skip to content

Commit 6df106d

Browse files
authored
Merge pull request #3145 from Xazax-hun/expose-not-cxx
Test new @_expose(!Cxx) attribute syntax
2 parents 7f1b768 + 4c9e695 commit 6df106d

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)