aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/embed_path_quote.c
blob: 79ca1e5c811b813092258fb4e0e1445f01d3ada6 (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -std=c23 %s -fsyntax-only --embed-dir=%S/Inputs -verify
// expected-no-diagnostics

const char data[] = {
#embed "single_byte.txt"
};
static_assert(sizeof(data) == 1);
static_assert('a' == data[0]);