repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
C
/
C2x
/
n2508.c
blob
2dee0b668cb4e8cb2d274c0a49b0fd300202f015
1
// RUN: %clang_cc1 -verify -std=c2x %s
2
3
// expected-no-diagnostics
4
5
/* WG14 N2508: yes
6
* Free positioning of labels inside compound statements
7
*/
8
void
test
() {
9
{
10
inner
:
11
}
12
13
switch
(
1
) {
14
case
1
:
15
}
16
17
{
18
multiple
:
labels
:
on
:
a
:
line
:
19
}
20
21
final
:
22
}
23