// RUN: %clang_cc1 -emit-llvm -o - %s
// PR1386
typedef unsigned long uint64_t;
struct X {
  unsigned char pad : 4;
  uint64_t a : 64;
} __attribute__((packed)) x;

uint64_t f(void)
{
  return x.a;
}

// RUN: %clang_cc1 -emit-llvm -o - %s
// PR1386
typedef unsigned long long uint64_t;
struct X {
  unsigned char pad : 4;
  uint64_t a : 64;
} __attribute__((packed)) x;

uint64_t f(void)
{
  return x.a;
}

Use unsigned long long for uint64_t. Fixes part of the windows buildbot.
Use unsigned long long for uint64_t. Fixes part of the windows buildbot.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136160 91177308-0d34-0410-b5e6-96231b3b80d8
