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