Fix quoting of [ ]

Change-Id: I57c96fe9f72794abb4f49f63735c075a4647bd23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163228
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
Stephan Bergmann 2024-02-11 13:10:21 +01:00
parent fa1b6aa517
commit 4179056285

View file

@ -14767,13 +14767,13 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([
auto s5 = S5().f();
struct S6 {
consteval S6(char const (&lit)[2]) {
buf[0] = lit[0];
buf[1] = lit[1];
consteval S6(char const (&lit)[[2]]) {
buf[[0]] = lit[[0]];
buf[[1]] = lit[[1]];
}
union {
int x;
char buf[2];
char buf[[2]];
};
};
void f6() { S6("a"); }