summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/varargs.c
blob: b3dba240b559e22666124e8b145ccc8c51a0c94b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm -o - %s


// PR6433 - Don't crash on va_arg(typedef).
typedef double gdouble;
void focus_changed_cb () {
    __builtin_va_list pa;
    double mfloat;
    mfloat = __builtin_va_arg((pa), gdouble);
}