Chris Lattner | c8e9cd6 | 2009-01-27 18:56:08 +0000 | [diff] [blame] | 1 | // RUN: clang -emit-llvm %s -o - |
Chris Lattner | 3e47be5 | 2007-11-30 18:02:19 +0000 | [diff] [blame] | 2 | |
3 | typedef struct { int i; } Value; | ||||
4 | typedef Value *PValue; | ||||
5 | |||||
6 | int get_value(PValue v) { | ||||
7 | return v->i; | ||||
8 | } |