llvm-project/clang/test/Driver/ident_md.c

7 lines
205 B
C
Raw Normal View History

// RUN: %clang %s -emit-llvm -S -o - | FileCheck %s
// Verify that clang version appears in the llvm.ident metadata.
// CHECK: !llvm.ident = !{{{.*}}}
// CHECK: !{{[0-9]+}} = metadata !{metadata !{{.*}}