From: Eli Friedman Date: Tue, 20 May 2008 08:27:04 +0000 (+0000) Subject: Fix typo in test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e590a84c6ee3d6220d435ba9137012a4a631376c;p=clang Fix typo in test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51308 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/builtin-stackaddress.c b/test/Sema/builtin-stackaddress.c index a828168f3d..c030ab364f 100644 --- a/test/Sema/builtin-stackaddress.c +++ b/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}} }