Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/darwin-weakimport-3.c @ 144:8f4e72ab4e11
fix segmentation fault caused by nothing next cur_op to end
author | Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 23 Dec 2018 21:23:56 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line source
/* { dg-do compile { target *-*-darwin* } } */ /* { dg-options "-fno-asynchronous-unwind-tables" } */ /* { dg-require-weak "" } */ /* { dg-final { scan-assembler-not "coalesced" } } */ extern void foo(void) __attribute__((weak_import)); void foo(void) { }