Correct testcase

2009-11-29  Alexander Monakov <amonakov@gcc.gnu.org>

	* testsuite/g++.dg/graphite/pr42130.C: Correct testcase.

From-SVN: r154851
This commit is contained in:
Alexander Monakov 2009-12-01 01:08:35 +03:00 committed by Tobias Grosser
parent 7c246f5e3b
commit ed807d06d9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-11-29 Alexander Monakov <amonakov@gcc.gnu.org>
* testsuite/g++.dg/graphite/pr42130.C: Correct testcase.
2009-11-24 Tobias Grosser <grosser@fim.uni-passau.de>
* graphite-clast-to-gimple.c (try_mark_loop_parallel,

View File

@ -3,7 +3,7 @@
using std::vector;
vector<unsigned> & __attribute__((noinline)) foo(unsigned n, unsigned k)
vector<unsigned> & __attribute__((noinline, noclone)) foo(unsigned n)
{
vector<unsigned> *vv = new vector<unsigned>(n, 0u);
return *vv;
@ -12,7 +12,8 @@ vector<unsigned> & __attribute__((noinline)) foo(unsigned n, unsigned k)
int main()
{
foo(0, 1);
foo(0);
return 0;
}
/* { dg-do run } */