summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20100603-1_0.C
blob: 8fe11a2f17c75f3b6dd7eb0c8eb9f81e2f2f5270 (plain)
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);
}