Commit cdd0c4d3 by Richard Guenther Committed by Richard Biener

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
parent 57e37d26
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[]) ...@@ -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 @@ ...@@ -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 @@ ...@@ -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" }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment