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
[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
pragma-ms_struct.cpp
blob
fe0b494b9a571388bc9da3085071f9f4bccec4e8
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
// <rdar://problem/10791194>
7
template
<
int
x
>
struct
foo
{
8
long long
a
;
9
int
b
;
10
};
11
extern
int
arr
[
sizeof
(
foo
<
0
>) ==
16
?
1
: -
1
];