comparison gcc/testsuite/g++.old-deja/g++.law/builtin1.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 // { dg-do run } 1 // { dg-do run }
2 // { dg-options "" } 2 // { dg-options "" }
3 // { dg-require-effective-target alloca }
3 // GROUPS passed builtins 4 // GROUPS passed builtins
4 // Apparently not in g++ bug snapshot (was originally sent to bug-gcc) 5 // Apparently not in g++ bug snapshot (was originally sent to bug-gcc)
5 // Message-Id: <m0p74Fh-0002fCC@neal.ctd.comsat.com> 6 // Message-Id: <m0p74Fh-0002fCC@neal.ctd.comsat.com>
6 // Date: Tue, 7 Dec 93 10:23 EST 7 // Date: Tue, 7 Dec 93 10:23 EST
7 // From: neal@ctd.comsat.com (Neal Becker) 8 // From: neal@ctd.comsat.com (Neal Becker)
12 extern "C" int printf (const char *, ...); 13 extern "C" int printf (const char *, ...);
13 14
14 void* junk() { 15 void* junk() {
15 return __builtin_alloca(10); 16 return __builtin_alloca(10);
16 } 17 }
17 main() { printf ("PASS\n");} 18
19 int
20 main() { printf ("PASS\n"); return 0; }