Chris Lattner | a14db75 | 2010-03-11 18:19:55 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -o - %s |
2 | |||||
3 | |||||
4 | // PR6433 - Don't crash on va_arg(typedef). | ||||
5 | typedef double gdouble; | ||||
6 | void focus_changed_cb () { | ||||
7 | __builtin_va_list pa; | ||||
8 | double mfloat; | ||||
9 | mfloat = __builtin_va_arg((pa), gdouble); | ||||
10 | } | ||||
11 |