// RUN: %clang_cc1 -std=c++98 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
// RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s
;
// PR5706
// Make sure this doesn't crash; the mangling doesn't matter because the name
// doesn't have linkage.
static obj8;
void
inline int
int
;
int
int
int
int
// This used to cause an assert because the typedef-for-anonymous-tag
// code was trying to claim the enum for the template.
;
;
void
void
// CHECK-LABEL: define internal void @"_ZNV3$_35test9Ev"(
typedef volatile struct Test9;
void
// CHECK-LABEL: define internal void @"_ZN5Test8I3$_2EC1ES0_"(