From 503731aa220c45c8f9b26be063558931c8be753d Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 20 May 2008 08:27:04 +0000 Subject: [PATCH] Fix typo in test. llvm-svn: 51308 --- clang/test/Sema/builtin-stackaddress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Sema/builtin-stackaddress.c b/clang/test/Sema/builtin-stackaddress.c index a828168f3d80..c030ab364fe9 100644 --- a/clang/test/Sema/builtin-stackaddress.c +++ b/clang/test/Sema/builtin-stackaddress.c @@ -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}} }