From fcf7081cf9b5f2ccbc5167806fb8e377f100efec Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 2 Jun 2018 10:57:54 +0000 Subject: [PATCH] Add missing directive From-SVN: r261109 --- gcc/testsuite/gnat.dg/specs/opt3_pkg.ads | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gnat.dg/specs/opt3_pkg.ads b/gcc/testsuite/gnat.dg/specs/opt3_pkg.ads index f0d23f3929d..4145ac4abaa 100644 --- a/gcc/testsuite/gnat.dg/specs/opt3_pkg.ads +++ b/gcc/testsuite/gnat.dg/specs/opt3_pkg.ads @@ -1,3 +1,5 @@ +-- { dg-excess-errors "no code generated" } + package Opt3_Pkg is function Max return Natural; -- 2.30.2