summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/Sema/constant-conversion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/constant-conversion.c b/clang/test/Sema/constant-conversion.c
index b67c286f53a..224f2ee4b53 100644
--- a/clang/test/Sema/constant-conversion.c
+++ b/clang/test/Sema/constant-conversion.c
@@ -128,6 +128,6 @@ void test10() {
s.a = ~0U;
s.a = ~(1<<A);
-s.a = -9; // expected-warning{{implicit truncation from 'int' to bitfield changes value from -9 to 7}}
+ s.a = -9; // expected-warning{{implicit truncation from 'int' to bitfield changes value from -9 to 7}}
s.a = 16; // expected-warning{{implicit truncation from 'int' to bitfield changes value from 16 to 0}}
}
OpenPOWER on IntegriCloud