repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
ancestor_type.adb
blob
b5e9e2c5c1d8c827486c490a4ab7cf59cc9ac70e
1
-- { dg-do compile }
2
3
package body
Ancestor_Type
is
4
5
package body
B
is
6
function
make
return
T
is
7
begin
8
return
(
T
with
n
=>
0
);
-- { dg-error "expect ancestor" }
9
end
make
;
10
11
end
B
;
12
13
end
Ancestor_Type
;