diff options
author | Adam Butcher <abutcher@gcc.gnu.org> | 2014-01-07 20:36:16 +0000 |
---|---|---|
committer | Adam Butcher <abutcher@gcc.gnu.org> | 2014-01-07 20:36:16 +0000 |
commit | e0109b519c8b4bc51a9e5ee85b7179182afb107f (patch) | |
tree | 88e5f0b06ca59de56c18ed4fbd5b87f93150a675 | |
parent | 877c72e7379124dc7d48111e15c79b7152761f17 (diff) | |
download | gcc-e0109b519c8b4bc51a9e5ee85b7179182afb107f.zip gcc-e0109b519c8b4bc51a9e5ee85b7179182afb107f.tar.gz gcc-e0109b519c8b4bc51a9e5ee85b7179182afb107f.tar.bz2 |
Fix paths in my previous cp/ChangeLog entries (r206368-r206371) and fix layout in cpp1y PR testcases as pointed out by Jakub.
From-SVN: r206403
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr58500.C | 3 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr58534.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr58536.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr58548.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr58549.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr58637.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr59112.C | 3 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr59113.C | 3 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr59629.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr59635.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr59636.C | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr59638.C | 4 |
12 files changed, 12 insertions, 33 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1y/pr58500.C b/gcc/testsuite/g++.dg/cpp1y/pr58500.C index b9d4a26..7adb1b8 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr58500.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr58500.C @@ -1,8 +1,7 @@ +// PR c++/58500 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/58500 - struct A {}; void foo(auto (A::*)()); diff --git a/gcc/testsuite/g++.dg/cpp1y/pr58534.C b/gcc/testsuite/g++.dg/cpp1y/pr58534.C index 4aa4f43..3319f69 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr58534.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr58534.C @@ -1,9 +1,7 @@ +// PR c++/58534 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/58534 - template<typename> void foo(const auto&) {} template<typename, typename...T> void foo(const auto&, T...) {} - diff --git a/gcc/testsuite/g++.dg/cpp1y/pr58536.C b/gcc/testsuite/g++.dg/cpp1y/pr58536.C index 8050c19..be00438 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr58536.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr58536.C @@ -1,12 +1,10 @@ +// PR c++/58536 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/58536 - struct A { A(auto); }; A::A(auto) {} - diff --git a/gcc/testsuite/g++.dg/cpp1y/pr58548.C b/gcc/testsuite/g++.dg/cpp1y/pr58548.C index 0ac2e1c..ad6f726 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr58548.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr58548.C @@ -1,10 +1,8 @@ +// PR c++/58548 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/58548 - void foo(auto) { struct A { int i; }; } - diff --git a/gcc/testsuite/g++.dg/cpp1y/pr58549.C b/gcc/testsuite/g++.dg/cpp1y/pr58549.C index b71bac9..b9825b5 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr58549.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr58549.C @@ -1,10 +1,8 @@ +// PR c++/58549 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/58549 - void foo(auto) { void bar(); } - diff --git a/gcc/testsuite/g++.dg/cpp1y/pr58637.C b/gcc/testsuite/g++.dg/cpp1y/pr58637.C index 46200ff..29297bb 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr58637.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr58637.C @@ -1,7 +1,5 @@ +// PR c++/58637 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/58637 - template<> void foo(auto); // { dg-error "auto|not a template" } - diff --git a/gcc/testsuite/g++.dg/cpp1y/pr59112.C b/gcc/testsuite/g++.dg/cpp1y/pr59112.C index e7326ac..12fef4b 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr59112.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr59112.C @@ -1,8 +1,7 @@ +// PR c++/59112 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/59112 - void foo() { struct A diff --git a/gcc/testsuite/g++.dg/cpp1y/pr59113.C b/gcc/testsuite/g++.dg/cpp1y/pr59113.C index f909a76..19bab2c 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr59113.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr59113.C @@ -1,8 +1,7 @@ +// PR c++/59113 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/59113 - void foo() { void bar(auto) {} // { dg-error "function-definition|auto|not permitted" } diff --git a/gcc/testsuite/g++.dg/cpp1y/pr59629.C b/gcc/testsuite/g++.dg/cpp1y/pr59629.C index a0c9209..c0e01c1 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr59629.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr59629.C @@ -1,7 +1,5 @@ +// PR c++/59629 // { dg-do compile } // { dg-options "-std=c++1y" } -// PR c++/59629 - void foo(int i = []{ auto 0; }()); // { dg-error "expected|could not convert" } - diff --git a/gcc/testsuite/g++.dg/cpp1y/pr59635.C b/gcc/testsuite/g++.dg/cpp1y/pr59635.C index 0f06cc8..16a3481 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr59635.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr59635.C @@ -1,9 +1,7 @@ +// PR c++/59635 // { dg-do compile } // { dg-options "-std=c++1y" } -// PR c++/59635 - auto f = [] (auto, ...) { return 0; }; int (*p) (int, ...) = f; // { dg-message "unimplemented" } - diff --git a/gcc/testsuite/g++.dg/cpp1y/pr59636.C b/gcc/testsuite/g++.dg/cpp1y/pr59636.C index f2ca5b6..bb7d9b5 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr59636.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr59636.C @@ -1,7 +1,5 @@ +// PR c++/59636 // { dg-do compile } // { dg-options "-std=c++1y" } -// PR c++/59636 - auto f = []() { return []<>() {}; }; // { dg-error "expected identifier" } - diff --git a/gcc/testsuite/g++.dg/cpp1y/pr59638.C b/gcc/testsuite/g++.dg/cpp1y/pr59638.C index cd9dcdf..22af139 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr59638.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr59638.C @@ -1,9 +1,7 @@ +// PR c++/59638 // { dg-do compile } // { dg-options "-std=gnu++1y" } -// PR c++/59638 - - void (*a)(auto); // { dg-error "template declaration" } void (*b)(auto) = 0; // { dg-error "template declaration" } |