Fixed some bugs.
[llvm/zpu.git] / test / FrontendC++ / 2009-05-04-PureConstNounwind.cpp
bloba4b4653e122ebfb63137a038f2e463cd057eaf03
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);
6 int f(void) {
7 return c() + p() + t();