view gcc/testsuite/gcc.dg/typedef-redecl.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* Redeclaration of typedef (invalid but accepted in system headers)
   causes ICE; PR 13656.  Test case by Richard Sandiford <rsandifo@redhat.com>,
   reduced from glibc.  */

#pragma GCC system_header
typedef int x;
typedef int x;