diff --git a/libc/test/src/unistd/getopt_test.cpp b/libc/test/src/unistd/getopt_test.cpp index 8217f7bb6e731..1a31094e98fc8 100644 --- a/libc/test/src/unistd/getopt_test.cpp +++ b/libc/test/src/unistd/getopt_test.cpp @@ -79,7 +79,7 @@ struct LlvmLibcGetoptTest : public LIBC_NAMESPACE::testing::Test { // This is safe because getopt doesn't currently permute argv like GNU's getopt // does so this just helps silence warnings. -char *operator"" _c(const char *c, size_t) { return const_cast(c); } +char *operator""_c(const char *c, size_t) { return const_cast(c); } TEST_F(LlvmLibcGetoptTest, NoMatch) { array argv{"prog"_c, "arg1"_c, nullptr};