blob: 708920792bf09d3029036b682d9918cccc9cc187 [file] [log] [blame]
Eric Christopherbf005ec2011-08-15 22:38:22 +00001// RUN: %clang_cc1 -fexceptions -emit-llvm %s -o - | grep nounwind | count 4
2int c(void) __attribute__((const));
3int p(void) __attribute__((pure));
4int t(void);
5
6int f(void) {
7 return c() + p() + t();
8}