// Test that there is no use-of-uninitialized memory when parsing '#include' in // the last line, without a newline. // // Forked from p1689-suppress-warnings.cppm. // RUN: rm -rf %t // RUN: mkdir -p %t // RUN: split-file %s %t // Test P1689 format - should NOT emit warnings // RUN: clang-scan-deps -format=p1689 -- %clang++ -std=c++20 -I%t -c %t/mylib.cppm -o %t/mylib.o 2>&1 | FileCheck %s // CHECK-NOT: warning: // CHECK: { // CHECK: "revision" //--- header.h // Empty header for testing //--- mylib.cppm module; export module mylib; #include