aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/conditional-expr.c
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2012-07-23 08:59:39 +0000
committerSylvestre Ledru <sylvestre@debian.org>2012-07-23 08:59:39 +0000
commitbed28ac1d1463adca3ecf24fca5c30646fa9dbb2 (patch)
treebd243306b2d80786815cd4f5b2dea67c212071ba /test/Sema/conditional-expr.c
parenteab9d6f9065b042d39fbaf9842c9d8cc968dd6d0 (diff)
Fix a typo (the the => the)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/conditional-expr.c')
-rw-r--r--test/Sema/conditional-expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/conditional-expr.c b/test/Sema/conditional-expr.c
index 184ac4a9e7..5ff58a2ec4 100644
--- a/test/Sema/conditional-expr.c
+++ b/test/Sema/conditional-expr.c
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -Wsign-conversion %s
void foo() {
*(0 ? (double *)0 : (void *)0) = 0;
- // FIXME: GCC doesn't consider the the following two statements to be errors.
+ // FIXME: GCC doesn't consider the following two statements to be errors.
*(0 ? (double *)0 : (void *)(int *)0) = 0; // expected-error {{incomplete type 'void' is not assignable}}
*(0 ? (double *)0 : (void *)(double *)0) = 0; // expected-error {{incomplete type 'void' is not assignable}}
*(0 ? (double *)0 : (int *)(void *)0) = 0; // expected-error {{incomplete type 'void' is not assignable}} expected-warning {{pointer type mismatch ('double *' and 'int *')}}