[cfe-commits] r51308 - /cfe/trunk/test/Sema/builtin-stackaddress.c
Eli Friedman
eli.friedman at gmail.com
Tue May 20 01:27:04 PDT 2008
Author: efriedma
Date: Tue May 20 03:27:04 2008
New Revision: 51308
URL: http://llvm.org/viewvc/llvm-project?rev=51308&view=rev
Log:
Fix typo in test.
Modified:
cfe/trunk/test/Sema/builtin-stackaddress.c
Modified: cfe/trunk/test/Sema/builtin-stackaddress.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/builtin-stackaddress.c?rev=51308&r1=51307&r2=51308&view=diff
==============================================================================
--- cfe/trunk/test/Sema/builtin-stackaddress.c (original)
+++ cfe/trunk/test/Sema/builtin-stackaddress.c Tue May 20 03:27:04 2008
@@ -7,10 +7,10 @@
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}}
}
More information about the cfe-commits
mailing list