Index: cfe/trunk/test/Import/cxx-scalar-value-init/Inputs/S.cpp =================================================================== --- cfe/trunk/test/Import/cxx-scalar-value-init/Inputs/S.cpp +++ cfe/trunk/test/Import/cxx-scalar-value-init/Inputs/S.cpp @@ -0,0 +1,2 @@ +int si() { return int(); } +float sf() { return float(); } Index: cfe/trunk/test/Import/cxx-scalar-value-init/test.cpp =================================================================== --- cfe/trunk/test/Import/cxx-scalar-value-init/test.cpp +++ cfe/trunk/test/Import/cxx-scalar-value-init/test.cpp @@ -0,0 +1,11 @@ +// 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(); +}