Skip to content

Commit a1e3d56

Browse files
committed
Pick up the test!
1 parent 49e347a commit a1e3d56

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// RUN: %clang_cc1 -std=c23 %s -fsyntax-only -verify
2+
// REQUIRES: system-linux
3+
4+
5+
int urandom[] = {
6+
#embed "/dev/urandom" //expected-error {{device files are not yet supported by '#embed' directive}}
7+
};
8+
int random[] = {
9+
#embed "/dev/random" //expected-error {{device files are not yet supported by '#embed' directive}}
10+
};
11+
int zero[] = {
12+
#embed "/dev/zero" //expected-error {{device files are not yet supported by '#embed' directive}}
13+
};
14+
int null[] = {
15+
#embed "/dev/null" //expected-error {{device files are not yet supported by '#embed' directive}}
16+
};

0 commit comments

Comments
 (0)