repo.or.cz
/
clang
/
acc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add include needed for MSVC.
[clang/acc.git]
/
test
/
CodeGen
/
2009-05-28-const-typedef.c
blob
e46e83b9478c3ad665d6a4b5be0005818c386607
1
// RUN: clang-cc -emit-llvm %s -o -
2
// PR4281
3
4
typedef
struct
{
5
int
i
;
6
}
something
;
7
8
typedef
const
something const_something
;
9
10
something
fail
(
void
);
11
12
int
13
main
(
int
argc
,
char
*
argv
[])
14
{
15
const_something R
=
fail
();
16
}
17