
See https://github.com/llvm/llvm-project/issues/126629 . Right now they are not supported properly and support requires modifying several layers of LLVM. For now simply reject them while proper support is being developed to avoid potential security problems.
8 lines
201 B
C
8 lines
201 B
C
// RUN: %clang_cc1 -std=c23 %s -fsyntax-only -verify
|
|
// REQUIRES: system-windows
|
|
|
|
|
|
int null[] = {
|
|
#embed "NUL" limit(1) //expected-error {{device files are not yet supported by '#embed' directive}}
|
|
};
|