summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr40340-3.c
blob: 5ef09e073d8e44729c7984a2d97d9c0f5eb1a0d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR middle-end/40340 */
/* { dg-do compile } */
/* { dg-options "-O2 -Wall -Wno-system-headers" } */

#define TEST2
#include "pr40340.h"

int
main (void)
{
  test2 ();
  return 0;
}

/* { dg-bogus "will always overflow destination buffer" "" { target *-*-* } 10 } */