llvm-project/clang/test/CodeGenCXX/array-pointer-decay.cpp

8 lines
88 B
C++

// RUN: %clang_cc1 %s -emit-llvm -o -
void f(const char*);
void g() {
f("hello");
}