c-ada-spec.c (is_tagged_type): Test for TYPE_METHODS on main variant.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 31 May 2015 21:47:28 +0000 (21:47 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 31 May 2015 21:47:28 +0000 (21:47 +0000)
commit1edfb384e845bc80dbb86a01373ffaeef37aeaec
tree4312a75694ade877696a8a80780473b127951ff5
parent255a48d6419c185cd9daac578a97b22e2c71b596
c-ada-spec.c (is_tagged_type): Test for TYPE_METHODS on main variant.

* c-ada-spec.c (is_tagged_type): Test for TYPE_METHODS on main variant.
(has_nontrivial_methods): Likewise.

From-SVN: r223905
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/dump-ada-spec-4.C [new file with mode: 0644]