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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
pragma-ms_struct.cpp
blob
a2821c6014955290ad9717be0fc710ff3c452cbd
1
// RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-osx10.7.0 %s
2
// expected-no-diagnostics
3
4
#pragma ms_struct on
5
6
template
<
int
x
>
struct
foo
{
7
long long
a
;
8
int
b
;
9
};
10
extern
int
arr
[
sizeof
(
foo
<
0
>) ==
16
?
1
: -
1
];