1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s
2 
3 template <typename T>
4 struct A {
5   // Used to crash when field was named after class.
6   int A = 0;
7 };
8 A<int> a;
9