1 ; RUN: %clang -fdiscard-value-names -S %s -o /dev/null 2>&1 | FileCheck --check-prefix=WARNING %s
2 ; RUN: %clang -S %s -o /dev/null 2>&1 | FileCheck --check-prefix=NOWARNING %s
3 ; RUN: %clang_cc1 -S -emit-llvm %s -discard-value-names -o /dev/null
6 ; WARNING: ignoring -fdiscard-value-names for LLVM Bitcode
7 ; NOWARNING-NOT: ignoring -fdiscard-value-names for LLVM Bitcode
9 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
10 target triple = "x86_64--linux-gnu"
12 define linkonce ptr @b(ptr %a) {