Fix typo in test.

llvm-svn: 51308
This commit is contained in:
Eli Friedman 2008-05-20 08:27:04 +00:00
parent f8353034eb
commit 503731aa22
1 changed files with 2 additions and 2 deletions

View File

@ -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}} 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); 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}} return __builtin_frame_address(x); // expected-error{{the level argument for a stack address builtin must be constant}}
} }