]> granicus.if.org Git - clang/commitdiff
Fix typo in test.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 20 May 2008 08:27:04 +0000 (08:27 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 20 May 2008 08:27:04 +0000 (08:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51308 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/builtin-stackaddress.c

index a828168f3d80a224d29f48cc8068a2809ffd004e..c030ab364fe9eaea0f938f17491a001c7d43964d 100644 (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}}
 }
 
-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}}
 }