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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
conv13.C
blob
717994bf6db8d69ecb8183dfbf606f8116af7341
1
// PR c++/52088
2
3
struct S
4
{
5
template <typename T>
6
operator T *() { return 0; }
7
};
8
9
int main()
10
{
11
S s;
12
delete s; // { dg-error "ambiguous|template|pointer" }
13
}