view gcc/testsuite/g++.dg/lto/20100603-1_0.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { dg-lto-do link } */
/* { dg-extra-ld-options "-Wno-lto-type-mismatch" } */

extern "C" {
    typedef struct {} CvImage;
    extern CvImage* Cv_ImageNew(void);
}
void __attribute__((noinline,noclone))
_Raytrace(CvImage* LImage) { __asm volatile (""); }
int main(int LArgC, char** LArgV) 
{
  CvImage* LImage = Cv_ImageNew();
  _Raytrace(LImage);
}