summaryrefslogtreecommitdiffstats
path: root/test/Sema/shift.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/shift.c')
-rw-r--r--test/Sema/shift.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Sema/shift.c b/test/Sema/shift.c
new file mode 100644
index 0000000..5acbe12
--- /dev/null
+++ b/test/Sema/shift.c
@@ -0,0 +1,6 @@
+// RUN: clang-cc -fsyntax-only %s
+
+void test() {
+ char c;
+ c <<= 14;
+}
OpenPOWER on IntegriCloud