freebsd-nq/test/CodeGenCXX/init-incomplete-type.cpp
2010-01-01 10:34:51 +00:00

13 lines
150 B
C++

// RUN: %clang_cc1 %s -emit-llvm-only -verify
// PR5489
template<typename E>
struct Bar {
int x_;
};
static struct Bar<int> bar[1] = {
{ 0 }
};