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

#define TEST3
#include "pr40340.h"

int
main (void)
{
  char buf[4];
  test3 (buf);
  return 0;
}

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