repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendC++
/
2009-05-04-PureConstNounwind.cpp
blob
a4b4653e122ebfb63137a038f2e463cd057eaf03
1
// RUN: %llvmgxx -S -emit-llvm %s -o - | grep nounwind | count 4
2
int
c
(
void
)
__attribute__
((
const
));
3
int
p
(
void
)
__attribute__
((
pure
));
4
int
t
(
void
);
5
6
int
f
(
void
) {
7
return
c
() +
p
() +
t
();
8
}