1 2 3 4 5 6 7 8 9 10 11 12 13 14
/* { dg-lto-do link } */ 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); }