diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-28 23:38:47 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-28 23:38:47 +0000 |
commit | 1b66ad494b07043860f2c890d7c963ab95004406 (patch) | |
tree | f7bb9a830096e0eda4a125d40d0604355b033c4c /gcc/testsuite/gcc.dg/visibility-1.c | |
parent | 3276c83bdcc633a4dfd9ecb2c5ff19cb0527f6bf (diff) | |
download | gcc-1b66ad494b07043860f2c890d7c963ab95004406.tar.gz |
2004-10-28 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/visibility-[1-9a].c: Change to use scan-hidden instead of
scan-assembler.
* lib/scanasm.exp (hidden-scan-for): New proc.
(scan-hidden): Use hidden-scan-for instead of constructing the scan
string.
(scan-not-hidden): Likewise.
* lib/target-supports.exp (check_visibility_available): mach-o is
support too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/visibility-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/visibility-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/visibility-1.c b/gcc/testsuite/gcc.dg/visibility-1.c index f76c3ca9154..864b971dd64 100644 --- a/gcc/testsuite/gcc.dg/visibility-1.c +++ b/gcc/testsuite/gcc.dg/visibility-1.c @@ -1,7 +1,7 @@ /* Test visibility attribute on function definition. */ /* { dg-do compile } */ /* { dg-require-visibility "" } */ -/* { dg-final { scan-assembler "\\.hidden.*foo" } } */ +/* { dg-final { scan-hidden "foo" } } */ void __attribute__((visibility ("hidden"))) |