Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: gcc/gcc/testsuite/gcc.dg/vla-8.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c ('k') | gcc/gcc/testsuite/gcc.dg/vmx/vmx.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/vla-8.c
diff --git a/gcc/gcc/testsuite/gcc.dg/vla-8.c b/gcc/gcc/testsuite/gcc.dg/vla-8.c
index e4c6ae4157fa4578956dc9cd8fc995b37f5f74ba..6e14a06875ee3480106ce8a7dc136be7b82595c0 100644
--- a/gcc/gcc/testsuite/gcc.dg/vla-8.c
+++ b/gcc/gcc/testsuite/gcc.dg/vla-8.c
@@ -23,8 +23,12 @@ void foo1(int n) {
}
void foo2(int n) {
- goto A; /* { dg-error "jump into scope of identifier with variably modified type" } */
+ goto A; /* { dg-error "jump into scope of identifier with variably modified type" } */
int (*(*bar2)(void))[n];
A:
;
}
+
+/* Match extra informative notes. */
+/* { dg-message "note: label '\[^\n'\]*' defined here" "note: expected" { target *-*-* } 0 } */
+/* { dg-message "note: '\[^\n'\]*' declared here" "note: expected" { target *-*-* } 0 } */
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/vect/wrapv-vect-reduc-dot-s8b.c ('k') | gcc/gcc/testsuite/gcc.dg/vmx/vmx.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698