Eli Friedman | 256f77e | 2008-05-20 08:59:34 +0000 | [diff] [blame^] | 1 | // RUN: clang -emit-llvm < %s |
2 | void* a(unsigned x) { | ||||
3 | return __builtin_return_address(0); | ||||
4 | } | ||||
5 | |||||
6 | void* c(unsigned x) { | ||||
7 | return __builtin_frame_address(0); | ||||
8 | } | ||||
9 | // RUN: clang -emit-llvm < %s | ||||
10 | void* a(unsigned x) { | ||||
11 | return __builtin_return_address(0); | ||||
12 | } | ||||
13 | |||||
14 | void* c(unsigned x) { | ||||
15 | return __builtin_frame_address(0); | ||||
16 | } |