Don't depend on arch specific global prefix.
[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 }