aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CIR/IR/func.cir
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CIR/IR/func.cir')
-rw-r--r--clang/test/CIR/IR/func.cir8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CIR/IR/func.cir b/clang/test/CIR/IR/func.cir
index 5636194..0e9a92f 100644
--- a/clang/test/CIR/IR/func.cir
+++ b/clang/test/CIR/IR/func.cir
@@ -14,6 +14,14 @@ cir.func @empty() {
// CHECK: cir.return
// CHECK: }
+// void empty() { }
+cir.func no_proto @noProto() {
+ cir.return
+}
+// CHECK: cir.func no_proto @noProto() {
+// CHECK: cir.return
+// CHECK: }
+
// void voidret() { return; }
cir.func @voidret() {
cir.return