diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-20 08:27:04 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-20 08:27:04 +0000 |
| commit | 503731aa220c45c8f9b26be063558931c8be753d (patch) | |
| tree | dbb61f2410da74013cd47e6c91ec26bb1c03ccc6 | |
| parent | f8353034eb57cf20ca4b3be70added7176f26537 (diff) | |
| download | bcm5719-llvm-503731aa220c45c8f9b26be063558931c8be753d.tar.gz bcm5719-llvm-503731aa220c45c8f9b26be063558931c8be753d.zip | |
Fix typo in test.
llvm-svn: 51308
| -rw-r--r-- | clang/test/Sema/builtin-stackaddress.c | 4 |
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}} } |

