summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/Sema/builtin-stackaddress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Sema/builtin-stackaddress.c b/clang/test/Sema/builtin-stackaddress.c
index a828168f3d8..c030ab364fe 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}}
}
OpenPOWER on IntegriCloud