diff --git a/lldb/test/Shell/Expr/TestStringLiteralExpr.test b/lldb/test/Shell/Expr/TestStringLiteralExpr.test
new file mode 100644
--- /dev/null
+++ b/lldb/test/Shell/Expr/TestStringLiteralExpr.test
@@ -0,0 +1,13 @@
+# RUN: echo %t
+# RUN: echo %s
+# RUN: echo "int main() { return 0; }" | %clang_host -x c -o %t -
+# RUN: %lldb -s %s %t | FileCheck %s
+
+# Make sure that lldb doesn't crash when evaluating expressions with string literals
+b main
+run
+expr "hello there"
+expr printf("hello there")
+
+# CHECK: (const char[12]) $0 = "hello there"
+# CHECK: (int) $1 = 11