Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -emit-llvm %s -o -
      2 // PR4281
      3 
      4 typedef struct {
      5         int i;
      6 } something;
      7 
      8 typedef const something const_something;
      9 
     10 something fail(void);
     11 
     12 int
     13 main(int argc, char *argv[])
     14 {
     15         const_something R = fail();
     16 }
     17 
     18