diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-12-07 00:59:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-12-07 00:59:53 +0000 |
| commit | b3582b939e2bb99d25de4908576b49d43490f8cf (patch) | |
| tree | 5bb40315707d5f8308b26a4321d3dcf151869a2f /clang/test/Sema | |
| parent | a1a9c28d30d6e471a24e8fbf272bde736574f7b4 (diff) | |
| download | bcm5719-llvm-b3582b939e2bb99d25de4908576b49d43490f8cf.tar.gz bcm5719-llvm-b3582b939e2bb99d25de4908576b49d43490f8cf.zip | |
a minor grammar fix
llvm-svn: 60646
Diffstat (limited to 'clang/test/Sema')
| -rw-r--r-- | clang/test/Sema/array-constraint.c | 2 | ||||
| -rw-r--r-- | clang/test/Sema/typedef-variable-type.c | 2 | ||||
| -rw-r--r-- | clang/test/Sema/vla.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/Sema/array-constraint.c b/clang/test/Sema/array-constraint.c index 7763e7923d1..596d19f77c6 100644 --- a/clang/test/Sema/array-constraint.c +++ b/clang/test/Sema/array-constraint.c @@ -41,7 +41,7 @@ void check_size() { } static int I; -typedef int TA[I]; // expected-error {{variable length array declaration not allowed in file scope}} +typedef int TA[I]; // expected-error {{variable length array declaration not allowed at file scope}} void strFunc(char *); const char staticAry[] = "test"; diff --git a/clang/test/Sema/typedef-variable-type.c b/clang/test/Sema/typedef-variable-type.c index 346117ef18a..e982637feb3 100644 --- a/clang/test/Sema/typedef-variable-type.c +++ b/clang/test/Sema/typedef-variable-type.c @@ -1,3 +1,3 @@ // RUN: clang %s -verify -fsyntax-only -pedantic -typedef int (*a)[!.0]; // expected-error{{variably modified type declaration not allowed in file scope}} +typedef int (*a)[!.0]; // expected-error{{variably modified type declaration not allowed at file scope}} diff --git a/clang/test/Sema/vla.c b/clang/test/Sema/vla.c index bccd5e65669..4b7a746b463 100644 --- a/clang/test/Sema/vla.c +++ b/clang/test/Sema/vla.c @@ -27,10 +27,10 @@ void f2(unsigned int m) // PR2361 int i; -int c[][i]; // expected-error {{variably modified type declaration not allowed in file scope}} -int d[i]; // expected-error {{variable length array declaration not allowed in file scope}} +int c[][i]; // expected-error {{variably modified type declaration not allowed at file scope}} +int d[i]; // expected-error {{variable length array declaration not allowed at file scope}} -int (*e)[i]; // expected-error {{variably modified type declaration not allowed in file scope}} +int (*e)[i]; // expected-error {{variably modified type declaration not allowed at file scope}} void f3() { |

