summaryrefslogtreecommitdiff
path: root/clang/test/Parser/altivec-template-vector.cpp
blob: 3b349e778e1ff804b24b000b1b580dc3b926a798 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -fsyntax-only -target-feature +altivec %s

template <typename T> class vector {
public:
  vector(int) {}
};

void f() {
  vector int v = {0};
  vector<int> vi = {0};
}