1 // RUN: %clang %s -fsyntax-only -std=c23 -M --embed-dir=%S/Inputs -Xclang -verify | FileCheck %s
3 // Yes this looks very strange indeed, but the goal is to test that we add
4 // files referenced by both __has_embed and #embed when we generate
5 // dependencies, so we're trying to see that both of these files are in the
7 #if __has_embed(<jk.txt>)
9 #embed "Inputs/single_byte.txt"
11 _Static_assert('b' == data
);
15 // expected-no-diagnostics
17 // CHECK: embed_dependencies.c \
18 // CHECK-NEXT: jk.txt \
19 // CHECK-NEXT: Inputs{{[/\\]}}single_byte.txt