aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/enum-bool.cpp
blob: 31a96e3488ed471dd5254627ac0da9a40fa0fc44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// %RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o %t

enum E : bool { A };
template <E>
struct S {
  struct Inner {
    Inner() {}
  };
};

template class S<A>;