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:
Richard Guenther 2009-12-02 20:33:25 +00:00 committed by Richard Biener
parent 57e37d2645
commit cdd0c4d3ff
4 changed files with 11 additions and 5 deletions

View File

@ -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>
PR middle-end/42224

View File

@ -44,5 +44,5 @@ int main (int argc, char *argv[])
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" } } */

View File

@ -3,8 +3,8 @@
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) {
test<0, 2>(*c2);
test<0, 2>(*c2); // { dg-error "omitted" }
}

View File

@ -4,9 +4,9 @@
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()
{
foo<1>();
foo<1>(); // { dg-message "unimplemented" }
}