1*71ab44a8SWolfgang Pieb // Tests that -fextend-variable-liveness and its aliases are correctly passed 2*71ab44a8SWolfgang Pieb // by the driver. 3*71ab44a8SWolfgang Pieb 4*71ab44a8SWolfgang Pieb // RUN: %clang -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,DEFAULT 5*71ab44a8SWolfgang Pieb // RUN: %clang -fextend-variable-liveness=none -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,NONE 6*71ab44a8SWolfgang Pieb // RUN: %clang -fextend-variable-liveness=this -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,THIS 7*71ab44a8SWolfgang Pieb // RUN: %clang -fextend-variable-liveness=all -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,ALL 8*71ab44a8SWolfgang Pieb // RUN: %clang -fextend-variable-liveness -### -c %s 2>&1 | FileCheck %s --check-prefixes=CHECK,ALL 9*71ab44a8SWolfgang Pieb 10*71ab44a8SWolfgang Pieb // CHECK: "-cc1" 11*71ab44a8SWolfgang Pieb // DEFAULT-NOT: -fextend-variable-liveness 12*71ab44a8SWolfgang Pieb // NONE-SAME: "-fextend-variable-liveness=none" 13*71ab44a8SWolfgang Pieb // THIS-SAME: "-fextend-variable-liveness=this" 14*71ab44a8SWolfgang Pieb // ALL-SAME: "-fextend-variable-liveness=all" 15