view gcc/testsuite/c-c++-common/dump-ada-spec-8.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 84e7813d76e9
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-fdump-ada-spec -w" } */

typedef struct T {} My_T;

int foo (My_T *t);


struct S1;

struct S2 { struct S1 *s; };

struct S1 {};

/* { dg-final { scan-ada-spec-not "System.Address" } } */
/* { dg-final { cleanup-ada-spec } } */