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