forked from OSchip/llvm-project
parent
f8353034eb
commit
503731aa22
|
@ -7,10 +7,10 @@ void b(unsigned x) {
|
|||
return __builtin_return_address(x); // expected-error{{the level argument for a stack address builtin must be constant}}
|
||||
}
|
||||
|
||||
void* a(unsigned x) {
|
||||
void* c(unsigned x) {
|
||||
return __builtin_frame_address(0);
|
||||
}
|
||||
|
||||
void b(unsigned x) {
|
||||
void d(unsigned x) {
|
||||
return __builtin_frame_address(x); // expected-error{{the level argument for a stack address builtin must be constant}}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue