You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
429 B

// RUN: %clang -MM -MP -Xclang -fdepfile-entry=1.extra -Xclang -fdepfile-entry=2.extra -Xclang -fdepfile-entry=2.extra %s | \
// RUN: FileCheck %s --implicit-check-not=.c:
//
// Verify that phony targets are only created for the extra dependency files,
// and not the input file.
// CHECK: dependency-gen-extradeps-phony.o: 1.extra 2.extra \
// CHECK-NEXT: dependency-gen-extradeps-phony.c
// CHECK: 1.extra:
// CHECK: 2.extra: