summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wlarger-than.c
blob: 609a7ae4ff09349b3f213b955af8c75c1dab18e1 (plain)
1
2
3
4
5
6
7
8
9
10
/* Copyright (C) 2000 Free Software Foundation, Inc.  */

/* { dg-do compile } */
/* { dg-options "-Wlarger-than-32768" } */

/* -Wlarger-than with functions returning void used to segfault.
   Source: PR 602, testsuite-ized by Neil Booth 21 Jan 2000.  */

static void foo (void) {}