projects
/
platform
/
upstream
/
gcc48.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash112.C
diff --git
a/gcc/testsuite/g++.dg/template/crash112.C
b/gcc/testsuite/g++.dg/template/crash112.C
index
919c887
..
ff35764
100644
(file)
--- a/
gcc/testsuite/g++.dg/template/crash112.C
+++ b/
gcc/testsuite/g++.dg/template/crash112.C
@@
-5,7
+5,7
@@
struct A
template<typename> void foo() {}
};
-template<void (A::*)()> struct B {};
// { dg-error "declaration" }
+template<void (A::*)()> struct B {};
template<int> struct C
{
@@
-13,3
+13,5
@@
template<int> struct C
};
C<0> c;
+
+// { dg-prune-output "could not convert" }