Disable nested function tests for clang
authorGary Benson <gbenson@redhat.com>
Mon, 20 Apr 2020 14:49:09 +0000 (15:49 +0100)
committerGary Benson <gbenson@redhat.com>
Mon, 20 Apr 2020 14:49:09 +0000 (15:49 +0100)
commitb5d1d6f7b70a0086a915c0d04c28a4db91161057
tree827ebfca3717909492f4246082dc8f6cb24c2322
parentad23bda0db2b2bee506147701424b2ebfef8f55a
Disable nested function tests for clang

Clang does not support nested functions, and there are no plans to
change this.  This commit disables the three nested function tests
when using clang.

gdb/testsuite/ChangeLog:

* gdb.base/nested-subp1.exp: Disable test when using clang.
* gdb.base/nested-subp2.exp: Likewise.
* gdb.base/nested-subp3.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/nested-subp1.exp
gdb/testsuite/gdb.base/nested-subp2.exp
gdb/testsuite/gdb.base/nested-subp3.exp