Skip to content

Commit 276393f

Browse files
committed
[NFC] Note missing access note validation
1 parent 01fa745 commit 276393f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Sema/access-notes-invalid.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
// RUN: %FileCheck --check-prefix=NEGATIVE-EXTRA %s <%t.txt
1010
// CHECK-EXTRA: <unknown>:0: remark: compiler ignored unknown key 'CorinthianLeather' in access notes at 'SOURCE_DIR/test/Sema/Inputs/extra.accessnotes'
1111
// NEGATIVE-EXTRA-NOT: <unknown>:0: warning: access notes at 'SOURCE_DIR/test/Sema/Inputs/extra.accessnotes' will be ignored due to an error while loading them
12+
13+
// FIXME: Should diagnose multiple access notes for the same decl
14+
15+
// FIXME: Should diagnose access notes that don't match a decl in the source code

0 commit comments

Comments
 (0)