Don't do integer promotions of LHS for compound shift assignment.  The LHS has to be a modifiable lvalue.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44993 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/shift.c b/test/Sema/shift.c
new file mode 100644
index 0000000..d5ae5c1
--- /dev/null
+++ b/test/Sema/shift.c
@@ -0,0 +1,6 @@
+// RUN: clang -fsyntax-only %s
+
+void test() {
+  char c;
+  c <<= 14;
+}