summaryrefslogtreecommitdiff
path: root/test/Import/cxx-noexcept-expr/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Import/cxx-noexcept-expr/test.cpp')
-rw-r--r--test/Import/cxx-noexcept-expr/test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Import/cxx-noexcept-expr/test.cpp b/test/Import/cxx-noexcept-expr/test.cpp
new file mode 100644
index 0000000000000..090a4eb7e6471
--- /dev/null
+++ b/test/Import/cxx-noexcept-expr/test.cpp
@@ -0,0 +1,8 @@
+// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
+
+// CHECK: CXXNoexceptExpr
+// CHECK-NEXT: IntegerLiteral
+
+void expr() {
+ f();
+}