summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/debug-info-file-checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/debug-info-file-checksum.c')
-rw-r--r--clang/test/CodeGen/debug-info-file-checksum.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/debug-info-file-checksum.c b/clang/test/CodeGen/debug-info-file-checksum.c
new file mode 100644
index 00000000000..2750800d41e
--- /dev/null
+++ b/clang/test/CodeGen/debug-info-file-checksum.c
@@ -0,0 +1,5 @@
+// RUN: %clang -emit-llvm -S -g -gcodeview -x c %S/Inputs/debug-info-file-checksum.c -o - | FileCheck %s
+
+// Check that "checksum" is created correctly for the compiled file.
+
+// CHECK: !DIFile(filename:{{.*}}, directory:{{.*}}, checksumkind: CSK_MD5, checksum: "a3b7d27af071accdeccaa933fc603608")
OpenPOWER on IntegriCloud