Files
llvm-project/clang/test/CXX/expr/expr.post/expr.ref/p3.cpp
Sebastian Redl 872fad8627 Test case for my last fix.
llvm-svn: 103252
2010-05-07 11:15:33 +00:00

16 lines
209 B
C++

// RUN: %clang_cc1 -verify -fsyntax-only %s
template<typename T> struct Node {
int lhs;
void splay( )
{
Node<T> n[1];
(void)n->lhs;
}
};
void f() {
Node<int> n;
return n.splay();
}