Skip to content

Commit

Permalink
Add a test for "clang --version".
Browse files Browse the repository at this point in the history
  • Loading branch information
nico committed May 7, 2020
1 parent a14f4a7 commit e42fee7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions clang/test/Driver/version.c
@@ -0,0 +1,7 @@
// RUN: %clang --version 2>&1 | FileCheck %s

CHECK: clang version

// Don't add llvm::TargetRegistry::printRegisteredTargetsForVersion()
// to --version output, see D79210 and D33900.
CHECK-NOT: Registered Targets:

0 comments on commit e42fee7

Please sign in to comment.