forked from OSchip/llvm-project
parent
4c91c526ca
commit
872fad8627
|
@ -0,0 +1,15 @@
|
|||
// 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();
|
||||
}
|
Loading…
Reference in New Issue