Sign in
llvm
/
llvm-project
/
clang
/
f24f1aa67f8de1cb864ef833f358840411ebaf5b
/
.
/
test
/
C
/
C2x
/
n2508.c
blob: 2dee0b668cb4e8cb2d274c0a49b0fd300202f015 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -verify -std=c2x %s
// expected-no-diagnostics
/* WG14 N2508: yes
* Free positioning of labels inside compound statements
*/
void
test
()
{
{
inner
:
}
switch
(
1
)
{
case
1
:
}
{
multiple
:
labels
:
on
:
a
:
line
:
}
final
:
}