aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/builtin1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/builtin1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/builtin1.C3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/builtin1.C b/gcc/testsuite/g++.old-deja/g++.law/builtin1.C
index 86a91e7e36f..c285c29fe2e 100644
--- a/gcc/testsuite/g++.old-deja/g++.law/builtin1.C
+++ b/gcc/testsuite/g++.old-deja/g++.law/builtin1.C
@@ -8,10 +8,9 @@
// the use of __builtin_alloca, and thus ends up being unresolved.
// Special g++ Options:
-extern "C" void* alloca( __SIZE_TYPE__ );
extern "C" int printf (const char *, ...);
void* junk() {
- return std::alloca(10);
+ return __builtin_alloca(10);
}
main() { printf ("PASS\n");}