Debian Codegraph @

clang/test/Preprocessor/embed-reject-device-files-lin.c

raw
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 };