blob: e275c340a9504e75496340c7ac143213c95b2079 [file] [log] [blame]
Duncan Sands5fe97a02010-11-25 21:39:17 +00001// RUN: %llvmgxx -S %s -o - | grep nounwind | count 4
Duncan Sandsb88227e2009-05-04 16:47:11 +00002int c(void) __attribute__((const));
3int p(void) __attribute__((pure));
4int t(void);
5
6int f(void) {
7 return c() + p() + t();
8}