llvm/clang/test/Driver/ident_md.c

// 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]+}} = !{!{{.*}}