projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Hide analysis group registration behind a macro, just like pass registration.
[oota-llvm.git]
/
test
/
FrontendC++
/
2009-05-04-PureConstNounwind.cpp
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
}