pt.c (dependent_type_p_push): New fn.
* pt.c (dependent_type_p_push): New fn. * cp-tree.h: Declare it. * tree.c (canonical_type_variant): Use TYPE_CANONICAL. From-SVN: r148189
This commit is contained in:
parent
90409e4c8a
commit
efd7670918
|
@ -1,3 +1,7 @@
|
||||||
|
2009-06-04 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
|
* g++.dg/template/error38.C: Add pointer-to-typedef case.
|
||||||
|
|
||||||
2009-06-04 Steve Ellcey <sje@cup.hp.com>
|
2009-06-04 Steve Ellcey <sje@cup.hp.com>
|
||||||
|
|
||||||
* gcc.dg/vect/vect-42.c: Modify vect_no_align case.
|
* gcc.dg/vect/vect-42.c: Modify vect_no_align case.
|
||||||
|
|
|
@ -26,6 +26,7 @@ void f (T &t, int = 0); // { dg-message "" }
|
||||||
|
|
||||||
typedef int myint;
|
typedef int myint;
|
||||||
myint i;
|
myint i;
|
||||||
|
myint *p;
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
@ -34,4 +35,5 @@ int main()
|
||||||
a.g(); // { dg-error "" }
|
a.g(); // { dg-error "" }
|
||||||
|
|
||||||
f(i); // { dg-error "" }
|
f(i); // { dg-error "" }
|
||||||
|
f(p); // { dg-error "" }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue