mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 17:30:58 +08:00
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>
|
||||
|
||||
* 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;
|
||||
myint i;
|
||||
myint *p;
|
||||
|
||||
int main()
|
||||
{
|
||||
@ -34,4 +35,5 @@ int main()
|
||||
a.g(); // { dg-error "" }
|
||||
|
||||
f(i); // { dg-error "" }
|
||||
f(p); // { dg-error "" }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user