comparison gcc/testsuite/c-c++-common/dump-ada-spec-10.c @ 17:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
16:04ced10e8804 17:84e7813d76e9
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-ada-spec" } */
3
4 typedef struct T *My_Ptr1;
5
6 int foo1 (My_Ptr1);
7
8 typedef struct T *My_Ptr2;
9
10 int foo2 (My_Ptr2);
11
12 struct T { int i; };
13
14 /* { dg-final { scan-ada-spec-not "System.Address" } } */
15 /* { dg-final { cleanup-ada-spec } } */