repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ptrmem17.C
blob
5c5ee3fc30e13772a4c351e4adb1eb7d3394501c
1
// PR c++/28346
2
3
template<int> struct A
4
{
5
int& i;
6
A();
7
~A() { &A::i; } // { dg-error "reference" }
8
};
9
10
A<0> a;