* g++.dg/ipa/iinline-1.C: Adjust.
* g++.dg/template/cond2.C: Likewise.
* g++.dg/template/pr35240.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154924
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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" } } */
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" }
}
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" }
}