aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-05-20 08:27:04 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-05-20 08:27:04 +0000
commite590a84c6ee3d6220d435ba9137012a4a631376c (patch)
tree346ee9d9ccced24f68d293df563334e7b015374c
parent6cfda23b3768f93a6eb0b2a9135c8334a20125bb (diff)
Fix typo in test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51308 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/builtin-stackaddress.c4
1 files changed, 2 insertions, 2 deletions
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}}
}