Reviewers: a.sidorin, a_sidorin
Reviewed By: a_sidorin
Subscribers: martong, cfe-commits
Differential Revision: https://reviews.llvm.org/D50735
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339838
91177308-0d34-0410-b5e6-
96231b3b80d8
--- /dev/null
+int si() { return int(); }
+float sf() { return float(); }
--- /dev/null
+// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
+// CHECK: CXXScalarValueInitExpr
+// CHECK-SAME: 'int'
+
+// CHECK: CXXScalarValueInitExpr
+// CHECK-SAME: 'float'
+
+void expr() {
+ int i = si();
+ float f = sf();
+}