iinline-1.C: Adjust.
2009-12-02 Richard Guenther <rguenther@suse.de> * g++.dg/ipa/iinline-1.C: Adjust. * g++.dg/template/cond2.C: Likewise. * g++.dg/template/pr35240.C: Likewise. From-SVN: r154924
This commit is contained in:
parent
57e37d2645
commit
cdd0c4d3ff
|
@ -1,3 +1,9 @@
|
||||||
|
2009-12-02 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
* g++.dg/ipa/iinline-1.C: Adjust.
|
||||||
|
* g++.dg/template/cond2.C: Likewise.
|
||||||
|
* g++.dg/template/pr35240.C: Likewise.
|
||||||
|
|
||||||
2009-12-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
2009-12-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||||
|
|
||||||
PR middle-end/42224
|
PR middle-end/42224
|
||||||
|
|
|
@ -44,5 +44,5 @@ int main (int argc, char *argv[])
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* { dg-final { scan-ipa-dump "String::funcOne\[^\\n\]*inline copy in main" "inline" } } */
|
/* { dg-final { scan-ipa-dump "String::funcOne\[^\\n\]*inline copy in int main" "inline" } } */
|
||||||
/* { dg-final { cleanup-ipa-dump "inline" } } */
|
/* { dg-final { cleanup-ipa-dump "inline" } } */
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
template<int X> class c;
|
template<int X> class c;
|
||||||
|
|
||||||
template<int X, int Y> int test(c<X ? : Y>&); // { dg-error "omitted" }
|
template<int X, int Y> int test(c<X ? : Y>&);
|
||||||
|
|
||||||
void test(c<2>*c2) {
|
void test(c<2>*c2) {
|
||||||
test<0, 2>(*c2);
|
test<0, 2>(*c2); // { dg-error "omitted" }
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
template<int> struct A {};
|
template<int> struct A {};
|
||||||
|
|
||||||
template<int N> A<sizeof(new int[N][N])> foo(); // { dg-message "unimplemented" }
|
template<int N> A<sizeof(new int[N][N])> foo();
|
||||||
|
|
||||||
void bar()
|
void bar()
|
||||||
{
|
{
|
||||||
foo<1>();
|
foo<1>(); // { dg-message "unimplemented" }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue