view gcc/testsuite/gcc.dg/analyzer/data-model-4.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-additional-options "-fexceptions" } */
/* TODO:is there a way to automatically run the tests on various
   optimizations levels, and with/without debuginfo, rather than
   hardcoding options?  Adapt from torture .exp, presumably.  */

#include <stdio.h>
int
main ()
{
  FILE *f = fopen ("conftest.out", "w");
  return ferror (f) || fclose (f) != 0;

  ;
  return 0;
}