Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- satacker@pop-os:~/workspace/compilers/llvm-project/build$ ninja check-clang
- [85/86] Running the Clang regression tests
- llvm-lit: /home/satacker/workspace/compilers/llvm-project/llvm/utils/lit/lit/llvm/config.py:484: note: using clang: /home/satacker/workspace/compilers/llvm-project/build/bin/clang
- FAIL: Clang :: Modules/odr_hash.cpp (368 of 18108)
- ******************** TEST 'Clang :: Modules/odr_hash.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 2'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp
- : 'RUN: at line 3'; mkdir /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp
- : 'RUN: at line 4'; mkdir /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/cache
- : 'RUN: at line 5'; mkdir /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs
- : 'RUN: at line 8'; echo "#define FIRST" >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/first.h
- : 'RUN: at line 9'; cat /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/odr_hash.cpp >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/first.h
- : 'RUN: at line 12'; echo "#define SECOND" >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/second.h
- : 'RUN: at line 13'; cat /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/odr_hash.cpp >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/second.h
- : 'RUN: at line 16'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fsyntax-only -x c++ -std=c++1z /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/first.h
- : 'RUN: at line 17'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fsyntax-only -x c++ -std=c++1z /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/second.h
- : 'RUN: at line 20'; echo "module FirstModule {" >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/module.map
- : 'RUN: at line 21'; echo " header \"first.h\"" >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/module.map
- : 'RUN: at line 22'; echo "}" >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/module.map
- : 'RUN: at line 23'; echo "module SecondModule {" >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/module.map
- : 'RUN: at line 24'; echo " header \"second.h\"" >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/module.map
- : 'RUN: at line 25'; echo "}" >> /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/module.map
- : 'RUN: at line 28'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -triple x86_64-linux-gnu -x c++ -std=c++1z -fmodules -fimplicit-module-maps -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/cache -I/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs -verify /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/odr_hash.cpp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics expected but not seen:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/second.h Line * (directive at /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/odr_hash.cpp:2904): 'PointersAndReferences::S5::x' from module 'SecondModule' is not present in definition of 'PointersAndReferences::S5' in module 'FirstModule'
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/first.h Line 2897: 'PointersAndReferences::S5::x' from module 'FirstModule' is not present in definition of 'PointersAndReferences::S5' in module 'SecondModule'
- error: 'note' diagnostics expected but not seen:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/first.h Line * (directive at /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/odr_hash.cpp:3842): declaration of 'x' does not match
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/odr_hash.cpp.tmp/Inputs/second.h Line 4102: declaration of 'x' does not match
- 4 errors generated.
- --
- ********************
- FAIL: Clang :: PCH/cxx-templates.cpp (494 of 18108)
- ******************** TEST 'Clang :: PCH/cxx-templates.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 3'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp -emit-llvm -o - -DNO_ERRORS | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -x c++-header -emit-pch -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp -emit-llvm -o - -error-on-deserialized-decl doNotDeserialize -DNO_ERRORS | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 11'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -fmodules -x c++-header -emit-pch -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h
- : 'RUN: at line 12'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -fmodules -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 13'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -fmodules -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp -emit-llvm -o - -error-on-deserialized-decl doNotDeserialize -DNO_ERRORS -fmodules-ignore-macro=NO_ERRORS | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 16'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fdelayed-template-parsing -fexceptions -x c++-header -emit-pch -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h
- : 'RUN: at line 17'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fdelayed-template-parsing -fexceptions -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 18'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fdelayed-template-parsing -fexceptions -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp -emit-llvm -o - -DNO_ERRORS | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 21'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -fpch-instantiate-templates -x c++-header -emit-pch -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h
- : 'RUN: at line 22'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- : 'RUN: at line 23'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++17 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -fexceptions -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp -emit-llvm -o - -DNO_ERRORS | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp:145:22: warning: explicit instantiation of 'f<0>' that occurs after an explicit specialization has no effect [-Winstantiation-after-specialization]
- 145 | template int A<3>::f<0>() const; // expected-warning {{has no effect}}
- | ^
- /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h:402:30: note: previous template specialization is here
- 402 | template<> constexpr int f<0>() const { return 2; }
- | ^
- /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp:147:22: warning: explicit instantiation of 'f<0>' that occurs after an explicit specialization has no effect [-Winstantiation-after-specialization]
- 147 | template int A<4>::f<0>() const; // expected-warning {{has no effect}}
- | ^
- /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h:402:30: note: previous template specialization is here
- 402 | template<> constexpr int f<0>() const { return 2; }
- | ^
- /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp:122:19: warning: instantiation of variable 'MemberSpecializationLocation::A<int>::n' required here, but no definition is available [-Wundefined-var-template]
- 122 | int k = A<int>::n;
- | ^
- /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h:361:46: note: forward declaration of template entity is here
- 361 | template<typename T> struct A { static int n; };
- | ^
- /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp:122:19: note: add an explicit instantiation declaration to suppress this warning if 'MemberSpecializationLocation::A<int>::n' is explicitly instantiated in another translation unit
- 122 | int k = A<int>::n;
- | ^
- 3 warnings generated.
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 39: no member named 'partial' in 'S<int, char>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 40: no member named 'explicit_special' in 'S<int, float>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 51: implicit instantiation of undefined template 'S6<const int[17]>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 56: implicit instantiation of undefined template 'S7<int[5]>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 151: static assertion failed due to requirement 'ClassScopeExplicitSpecializations::A<0>().f<0>() == 4':
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 152: static assertion failed due to requirement 'ClassScopeExplicitSpecializations::A<0>().f<1>() == 5':
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 153: static assertion failed due to requirement 'ClassScopeExplicitSpecializations::A<0>().f<2>() == 3':
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 157: static assertion failed due to requirement 'ClassScopeExplicitSpecializations::A<2>().f<0>() == 2':
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h Line 156: template is declared here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.h Line 168: template is declared here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 151: expression evaluates to '2 == 4'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 152: expression evaluates to '1 == 5'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 153: expression evaluates to '1 == 3'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-templates.cpp Line 157: expression evaluates to '1 == 2'
- 14 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/pr62943.cppm (906 of 18108)
- ******************** TEST 'Clang :: Modules/pr62943.cppm' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp
- : 'RUN: at line 2'; mkdir -p /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp
- : 'RUN: at line 3'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pr62943.cppm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp
- : 'RUN: at line 5'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp/a.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp/a.pcm
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp/b.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp/b.pcm
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp/c.cppm -emit-module-interface -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp/c.pcm
- : 'RUN: at line 9'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp/use.cpp -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp -fsyntax-only -verify
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr62943.cppm.tmp/use.cpp Line 17: static assertion failed due to requirement 'indirectly_readable_traits<U<int **>>::value'
- 1 error generated.
- --
- ********************
- FAIL: Clang :: PCH/cxx-variadic-templates.cpp (1099 of 18108)
- ******************** TEST 'Clang :: PCH/cxx-variadic-templates.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp -ast-dump -o -
- : 'RUN: at line 3'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp -emit-llvm -o - | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -x c++-header -emit-pch -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-variadic-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-variadic-templates.cpp.tmp -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp -ast-dump -o -
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-variadic-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp -emit-llvm -o - | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp
- : 'RUN: at line 10'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -x c++-header -emit-pch -fpch-instantiate-templates -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-variadic-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h
- : 'RUN: at line 11'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-variadic-templates.cpp.tmp -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp -ast-dump -o -
- : 'RUN: at line 12'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx-variadic-templates.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp -emit-llvm -o - | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp
- --
- Exit Code: 1
- Command Output (stdout):
- --
- TranslationUnitDecl 0x561bc0e13f58 <<invalid sloc>> <invalid sloc>
- |-TypedefDecl 0x561bc0e147c0 <<invalid sloc>> <invalid sloc> implicit __int128_t '__int128'
- | `-BuiltinType 0x561bc0e14520 '__int128'
- |-TypedefDecl 0x561bc0e14830 <<invalid sloc>> <invalid sloc> implicit __uint128_t 'unsigned __int128'
- | `-BuiltinType 0x561bc0e14540 'unsigned __int128'
- |-TypedefDecl 0x561bc0e14ba8 <<invalid sloc>> <invalid sloc> implicit __NSConstantString '__NSConstantString_tag'
- | `-RecordType 0x561bc0e14920 '__NSConstantString_tag'
- | `-CXXRecord 0x561bc0e14888 '__NSConstantString_tag'
- |-TypedefDecl 0x561bc0e14c40 <<invalid sloc>> <invalid sloc> implicit __builtin_ms_va_list 'char *'
- | `-PointerType 0x561bc0e14c00 'char *'
- | `-BuiltinType 0x561bc0e14000 'char'
- |-TypedefDecl 0x561bc0e5baf8 <<invalid sloc>> <invalid sloc> implicit __builtin_va_list '__va_list_tag[1]'
- | `-ConstantArrayType 0x561bc0e5baa0 '__va_list_tag[1]' 1
- | `-RecordType 0x561bc0e14d30 '__va_list_tag'
- | `-CXXRecord 0x561bc0e14c98 '__va_list_tag'
- |-ClassTemplateDecl 0x561bc0e5bca0 </home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h:2:1, line:9:1> line:3:7 shared_ptr
- | |-TemplateTypeParmDecl 0x561bc0e5bb50 <line:2:10, col:19> col:19 referenced typename depth 0 index 0 _Tp
- | |-CXXRecordDecl 0x561bc0e5bc10 <line:3:1, line:9:1> line:3:7 class shared_ptr definition
- | | |-DefinitionData empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
- | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveConstructor exists simple trivial needs_implicit
- | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveAssignment exists simple trivial needs_implicit
- | | | `-Destructor simple irrelevant trivial needs_implicit
- | | |-CXXRecordDecl 0x561bc0e5bef0 <col:1, col:7> col:7 implicit class shared_ptr
- | | |-AccessSpecDecl 0x561bc0e5bf80 <line:4:1, col:7> col:1 public
- | | `-FunctionTemplateDecl 0x561bc0e5c570 <line:5:3, line:8:55> col:3 allocate_shared
- | | |-TemplateTypeParmDecl 0x561bc0e5bfa8 <line:5:12, col:18> col:18 referenced class depth 1 index 0 _Alloc
- | | |-TemplateTypeParmDecl 0x561bc0e5c058 <col:26, col:35> col:35 referenced class depth 1 index 1 ... _Args
- | | `-CXXMethodDecl 0x561bc0e5c4c8 <line:6:3, line:8:55> col:3 allocate_shared 'shared_ptr<_Tp> (const _Alloc &, _Args &&...)' static
- | | |-ParmVarDecl 0x561bc0e5c238 <col:19, col:33> col:33 __a 'const _Alloc &'
- | | `-ParmVarDecl 0x561bc0e5c370 <col:38, col:49> col:49 __args '_Args &&...' pack
- | `-ClassTemplateSpecializationDecl 0x561bc0e7f730 <line:2:1, line:9:1> line:3:7 class shared_ptr definition
- | |-DefinitionData pass_in_registers empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | |-DefaultConstructor exists trivial constexpr defaulted_is_constexpr
- | | |-CopyConstructor simple trivial has_const_param implicit_has_const_param
- | | |-MoveConstructor exists simple trivial
- | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | |-MoveAssignment exists simple trivial needs_implicit
- | | `-Destructor simple irrelevant trivial
- | |-TemplateArgument type 'int'
- | | `-BuiltinType 0x561bc0e14060 'int'
- | |-CXXRecordDecl 0x561bc0e7fa38 <col:1, col:7> col:7 implicit class shared_ptr
- | |-AccessSpecDecl 0x561bc0e7fac8 <line:4:1, col:7> col:1 public
- | |-FunctionTemplateDecl 0x561bc0e808c0 <line:5:3, line:8:55> col:3 allocate_shared
- | | |-TemplateTypeParmDecl 0x561bc0e7faf0 <line:5:12, col:18> col:18 class depth 0 index 0 _Alloc
- | | |-TemplateTypeParmDecl 0x561bc0e7fb68 <col:26, col:35> col:35 class depth 0 index 1 ... _Args
- | | |-CXXMethodDecl 0x561bc0e80818 <line:6:3, line:8:55> col:3 allocate_shared 'shared_ptr<int> (const _Alloc &, _Args &&...)' static
- | | | |-ParmVarDecl 0x561bc0e805a8 <col:19, col:33> col:33 __a 'const _Alloc &'
- | | | `-ParmVarDecl 0x561bc0e806f0 <col:38, col:49> col:49 __args '_Args &&...' pack
- | | `-CXXMethodDecl 0x561bc0e80e98 <line:13:1, line:18:1> line:8:3 used allocate_shared 'shared_ptr<int> (const int &, int &&)' static
- | | |-TemplateArgument type 'int'
- | | | `-BuiltinType 0x561bc0e14060 'int'
- | | |-TemplateArgument pack
- | | | `-TemplateArgument type 'int'
- | | | `-BuiltinType 0x561bc0e14060 'int'
- | | |-ParmVarDecl 0x561bc0e80c78 <col:19, col:33> col:33 __a 'const int &'
- | | |-ParmVarDecl 0x561bc0e80d78 <col:38, col:49> col:49 __args 'int &&'
- | | `-CompoundStmt 0x561bc0e89c30 <line:15:1, line:18:1>
- | | |-DeclStmt 0x561bc0e89b70 <line:16:3, col:22>
- | | | `-VarDecl 0x561bc0e89aa0 <col:3, col:19> col:19 used __r 'shared_ptr<int>':'shared_ptr<int>' nrvo callinit
- | | | `-CXXConstructExpr 0x561bc0e89b48 <col:19> 'shared_ptr<int>':'shared_ptr<int>' 'void () noexcept'
- | | `-ReturnStmt 0x561bc0e89c18 <line:17:3, col:10>
- | | `-CXXConstructExpr 0x561bc0e89be8 <col:10> 'shared_ptr<int>':'shared_ptr<int>' 'void (shared_ptr<int> &&) noexcept'
- | | `-ImplicitCastExpr 0x561bc0e89ba8 <col:10> 'shared_ptr<int>':'shared_ptr<int>' xvalue <NoOp>
- | | `-DeclRefExpr 0x561bc0e89b88 <col:10> 'shared_ptr<int>':'shared_ptr<int>' lvalue Var 0x561bc0e89aa0 '__r' 'shared_ptr<int>':'shared_ptr<int>'
- | |-CXXDestructorDecl 0x561bc0e810d0 <line:3:7> col:7 implicit referenced ~shared_ptr 'void () noexcept' inline default trivial
- | |-CXXConstructorDecl 0x561bc0e81230 <col:7> col:7 implicit used constexpr shared_ptr 'void () noexcept' inline default trivial
- | | `-CompoundStmt 0x561bc0e89b08 <col:7>
- | |-CXXConstructorDecl 0x561bc0e81ad0 <col:7> col:7 implicit constexpr shared_ptr 'void (const shared_ptr<int> &)' inline default trivial noexcept-unevaluated 0x561bc0e81ad0
- | | `-ParmVarDecl 0x561bc0e81be8 <col:7> col:7 'const shared_ptr<int> &'
- | `-CXXConstructorDecl 0x561bc0e81cc8 <col:7> col:7 implicit used constexpr shared_ptr 'void (shared_ptr<int> &&) noexcept' inline default trivial
- | |-ParmVarDecl 0x561bc0e81de8 <col:7> col:7 'shared_ptr<int> &&'
- | `-CompoundStmt 0x561bc0e81fd0 <col:7>
- |-FunctionTemplateDecl 0x561bc0e78cf0 parent 0x561bc0e5bc10 prev 0x561bc0e5c570 <line:12:1, line:18:1> line:14:18 allocate_shared
- | |-TemplateTypeParmDecl 0x561bc0e5c680 <line:12:10, col:16> col:16 referenced class depth 1 index 0 _Alloc
- | |-TemplateTypeParmDecl 0x561bc0e5c6f8 <col:24, col:33> col:33 referenced class depth 1 index 1 ... _Args
- | `-CXXMethodDecl 0x561bc0e78c08 parent 0x561bc0e5bc10 prev 0x561bc0e5c4c8 <line:11:1, line:18:1> line:14:18 allocate_shared 'shared_ptr<_Tp> (const _Alloc &, _Args &&...)'
- | |-ParmVarDecl 0x561bc0e5c9a8 <col:34, col:48> col:48 __a 'const _Alloc &'
- | |-ParmVarDecl 0x561bc0e78a80 <col:53, col:64> col:64 __args '_Args &&...' pack
- | `-CompoundStmt 0x561bc0e78f68 <line:15:1, line:18:1>
- | |-DeclStmt 0x561bc0e78f18 <line:16:3, col:22>
- | | `-VarDecl 0x561bc0e78eb0 <col:3, col:19> col:19 referenced __r 'shared_ptr<_Tp>':'shared_ptr<_Tp>' nrvo
- | `-ReturnStmt 0x561bc0e78f50 <line:17:3, col:10>
- | `-DeclRefExpr 0x561bc0e78f30 <col:10> 'shared_ptr<_Tp>':'shared_ptr<_Tp>' lvalue Var 0x561bc0e78eb0 '__r' 'shared_ptr<_Tp>':'shared_ptr<_Tp>'
- |-ClassTemplateDecl 0x561bc0e790e0 <line:20:1, line:24:1> line:20:32 outer
- | |-TemplateTypeParmDecl 0x561bc0e78f88 <col:10, col:21> col:21 referenced typename depth 0 index 0 ... Ts
- | |-CXXRecordDecl 0x561bc0e79050 <col:25, line:24:1> line:20:32 struct outer definition
- | | |-DefinitionData empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
- | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveConstructor exists simple trivial needs_implicit
- | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveAssignment exists simple trivial needs_implicit
- | | | `-Destructor simple irrelevant trivial needs_implicit
- | | |-CXXRecordDecl 0x561bc0e793c0 <col:25, col:32> col:32 implicit struct outer
- | | `-ClassTemplateDecl 0x561bc0e79640 <line:21:3, line:23:3> line:21:54 inner
- | | |-NonTypeTemplateParmDecl 0x561bc0e79460 <col:12, col:17> col:17 referenced 'Ts...' depth 1 index 0 ... Vs
- | | |-TemplateTemplateParmDecl 0x561bc0e79538 <col:21, col:43> col:43 depth 1 index 1 ... Cs
- | | | `-NonTypeTemplateParmDecl 0x561bc0e794c8 <col:30> col:32 'Ts' depth 2 index 0
- | | `-CXXRecordDecl 0x561bc0e795b0 <col:47, line:23:3> line:21:54 struct inner definition
- | | |-DefinitionData empty standard_layout trivially_copyable has_user_declared_ctor can_const_default_init
- | | | |-DefaultConstructor exists non_trivial user_provided defaulted_is_constexpr
- | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveConstructor exists simple trivial needs_implicit
- | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveAssignment exists simple trivial needs_implicit
- | | | `-Destructor simple irrelevant trivial needs_implicit
- | | |-CXXRecordDecl 0x561bc0e7b4a0 <col:47, col:54> col:54 implicit referenced struct inner
- | | `-CXXConstructorDecl 0x561bc0e7b8f8 <line:22:5, col:20> col:5 inner<Vs..., Cs...> 'void (Cs<Vs>...)'
- | | `-ParmVarDecl 0x561bc0e7b7f0 <col:11, col:17> col:20 'Cs<Vs>...' pack
- | `-ClassTemplateSpecialization 0x561bc0e7ba70 'outer'
- |-ClassTemplateSpecializationDecl 0x561bc0e7ba70 <line:25:1, col:31> col:17 struct outer definition
- | |-DefinitionData pass_in_registers empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
- | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
- | | |-MoveConstructor exists simple trivial needs_implicit
- | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | |-MoveAssignment exists simple trivial needs_implicit
- | | `-Destructor simple irrelevant trivial
- | |-TemplateArgument pack
- | | |-TemplateArgument type 'int'
- | | | `-BuiltinType 0x561bc0e14060 'int'
- | | `-TemplateArgument type 'int'
- | | `-BuiltinType 0x561bc0e14060 'int'
- | |-CXXRecordDecl 0x561bc0e7bc68 <line:20:25, col:32> col:32 implicit struct outer
- | |-ClassTemplateDecl 0x561bc0e7c008 <line:21:3, col:54> col:54 inner
- | | |-NonTypeTemplateParmDecl 0x561bc0e7bd78 <col:12, col:17> col:17 'Ts...' depth 0 index 0 ... Vs
- | | |-TemplateTemplateParmDecl 0x561bc0e7bef0 <col:21, col:43> col:43 depth 0 index 1 ... Cs
- | | | `-NonTypeTemplateParmDecl 0x561bc0e794c8 <col:30> col:32 'Ts' depth 2 index 0
- | | |-CXXRecordDecl 0x561bc0e7bf78 <col:47, col:54> col:54 struct inner
- | | `-ClassTemplateSpecializationDecl 0x561bc0e83cb8 <col:3, col:54> col:54 struct inner definition
- | | |-DefinitionData pass_in_registers empty standard_layout trivially_copyable has_user_declared_ctor can_const_default_init
- | | | |-DefaultConstructor defaulted_is_constexpr
- | | | |-CopyConstructor simple trivial has_const_param implicit_has_const_param
- | | | |-MoveConstructor exists simple trivial
- | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveAssignment exists simple trivial needs_implicit
- | | | `-Destructor simple irrelevant trivial needs_implicit
- | | |-TemplateArgument pack
- | | | |-TemplateArgument integral 1
- | | | `-TemplateArgument integral 2
- | | |-TemplateArgument pack
- | | | |-TemplateArgument template A
- | | | `-TemplateArgument template B
- | | |-CXXRecordDecl 0x561bc0e84958 <col:47, col:54> col:54 implicit struct inner
- | | |-CXXConstructorDecl 0x561bc0e84f10 <line:22:5, col:20> col:5 used inner 'void (A<1>, B<2>)'
- | | | |-ParmVarDecl 0x561bc0e84c40 <col:11, col:16> col:20 'A<1>':'A<1>'
- | | | `-ParmVarDecl 0x561bc0e84dc0 <col:11, col:16> col:20 'B<2>':'B<2>'
- | | |-CXXConstructorDecl 0x561bc0e85088 <line:21:54> col:54 implicit constexpr inner 'void (const inner<1, 2, A, B> &)' inline default trivial noexcept-unevaluated 0x561bc0e85088
- | | | `-ParmVarDecl 0x561bc0e851a8 <col:54> col:54 'const inner<1, 2, A, B> &'
- | | `-CXXConstructorDecl 0x561bc0e85288 <col:54> col:54 implicit constexpr inner 'void (inner<1, 2, A, B> &&)' inline default trivial noexcept-unevaluated 0x561bc0e85288
- | | `-ParmVarDecl 0x561bc0e853a8 <col:54> col:54 'inner<1, 2, A, B> &&'
- | `-CXXDestructorDecl 0x561bc0e89828 <line:25:17> col:17 implicit referenced ~outer 'void () noexcept' inline default trivial
- |-FunctionTemplateDecl 0x561bc0e7ef20 <line:27:1, col:84> col:30 take_nondependent_pack
- | |-TemplateTypeParmDecl 0x561bc0e7c3b0 <col:10, col:22> col:22 referenced typename depth 0 index 0 ... T
- | |-FunctionDecl 0x561bc0e7ee78 <col:25, col:84> col:30 take_nondependent_pack 'void (int[8]...)'
- | | `-ParmVarDecl 0x561bc0e7ed80 <col:53, col:83> col:61 arr 'int[8]...' pack
- | `-FunctionDecl 0x561bc0e887e8 <col:25, col:84> col:30 used take_nondependent_pack 'void (int *, int *)'
- | |-TemplateArgument pack
- | | |-TemplateArgument type 'int'
- | | | `-BuiltinType 0x561bc0e14060 'int'
- | | `-TemplateArgument type 'int'
- | | `-BuiltinType 0x561bc0e14060 'int'
- | |-ParmVarDecl 0x561bc0e88580 <col:53, col:83> col:61 arr 'int *':'int *'
- | `-ParmVarDecl 0x561bc0e886d8 <col:53, col:83> col:61 arr 'int *':'int *'
- |-TypeAliasTemplateDecl 0x561bc0e7f148 <line:29:1, col:35> col:22 hide
- | |-TemplateTypeParmDecl 0x561bc0e7f040 <col:10, col:19> col:19 typename depth 0 index 0 T
- | `-TypeAliasDecl 0x561bc0e7f0e8 <col:22, col:35> col:28 hide 'int'
- | `-BuiltinType 0x561bc0e14060 'int'
- |-FunctionTemplateDecl 0x561bc0e7f640 <line:30:1, col:72> col:30 take_nondependent_pack_2
- | |-TemplateTypeParmDecl 0x561bc0e7f1a0 <col:10, col:22> col:22 referenced typename depth 0 index 0 ... T
- | |-FunctionDecl 0x561bc0e7f598 <col:25, col:72> col:30 take_nondependent_pack_2 'void (outer<hide<T>...>)'
- | | `-ParmVarDecl 0x561bc0e7f4a0 <col:55, col:71> col:72 'outer<hide<T>...>':'outer<hide<T>...>'
- | `-FunctionDecl 0x561bc0e895c8 <col:25, col:72> col:30 used take_nondependent_pack_2 'void (outer<hide<int>, hide<int>>)'
- | |-TemplateArgument pack
- | | |-TemplateArgument type 'int'
- | | | `-BuiltinType 0x561bc0e14060 'int'
- | | `-TemplateArgument type 'int'
- | | `-BuiltinType 0x561bc0e14060 'int'
- | `-ParmVarDecl 0x561bc0e894a8 <col:55, col:71> col:72 'outer<hide<int>, hide<int>>':'outer<int, int>'
- |-VarDecl 0x561bc0e7f8e0 </home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp:17:1, col:60> col:17 spi 'shared_ptr<int>':'shared_ptr<int>' cinit
- | `-ExprWithCleanups 0x561bc0e82010 <col:23, col:60> 'shared_ptr<int>':'shared_ptr<int>'
- | `-CXXConstructExpr 0x561bc0e81fe0 <col:23, col:60> 'shared_ptr<int>':'shared_ptr<int>' 'void (shared_ptr<int> &&) noexcept' elidable
- | `-MaterializeTemporaryExpr 0x561bc0e81e68 <col:23, col:60> 'shared_ptr<int>':'shared_ptr<int>' xvalue
- | `-CallExpr 0x561bc0e81070 <col:23, col:60> 'shared_ptr<int>':'shared_ptr<int>'
- | |-ImplicitCastExpr 0x561bc0e81058 <col:23, col:40> 'shared_ptr<int> (*)(const int &, int &&)' <FunctionToPointerDecay>
- | | `-DeclRefExpr 0x561bc0e80fc0 <col:23, col:40> 'shared_ptr<int> (const int &, int &&)' lvalue CXXMethod 0x561bc0e80e98 'allocate_shared' 'shared_ptr<int> (const int &, int &&)' (FunctionTemplate 0x561bc0e808c0 'allocate_shared')
- | |-MaterializeTemporaryExpr 0x561bc0e810a0 <col:56> 'const int':'const int' lvalue
- | | `-IntegerLiteral 0x561bc0e80a30 <col:56> 'int' 1
- | `-MaterializeTemporaryExpr 0x561bc0e810b8 <col:59> 'int':'int' xvalue
- | `-IntegerLiteral 0x561bc0e80a50 <col:59> 'int' 2
- |-ClassTemplateDecl 0x561bc0e82198 <line:19:1, col:25> col:22 A
- | |-NonTypeTemplateParmDecl 0x561bc0e82098 <col:10> col:13 'int' depth 0 index 0
- | |-CXXRecordDecl 0x561bc0e82108 <col:15, col:25> col:22 struct A definition
- | | |-DefinitionData empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
- | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveConstructor exists simple trivial needs_implicit
- | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveAssignment exists simple trivial needs_implicit
- | | | `-Destructor simple irrelevant trivial needs_implicit
- | | `-CXXRecordDecl 0x561bc0e82400 <col:15, col:22> col:22 implicit struct A
- | `-ClassTemplateSpecializationDecl 0x561bc0e83f18 <col:1, col:25> col:22 struct A definition
- | |-DefinitionData pass_in_registers empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | |-DefaultConstructor exists trivial constexpr defaulted_is_constexpr
- | | |-CopyConstructor simple trivial has_const_param implicit_has_const_param
- | | |-MoveConstructor exists simple trivial
- | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | |-MoveAssignment exists simple trivial needs_implicit
- | | `-Destructor simple irrelevant trivial
- | |-TemplateArgument integral 1
- | |-CXXRecordDecl 0x561bc0e84228 <col:15, col:22> col:22 implicit struct A
- | |-CXXDestructorDecl 0x561bc0e84310 <col:22> col:22 implicit referenced ~A 'void () noexcept' inline default trivial
- | |-CXXConstructorDecl 0x561bc0e85440 <col:22> col:22 implicit constexpr A 'void ()' inline default trivial noexcept-unevaluated 0x561bc0e85440
- | |-CXXConstructorDecl 0x561bc0e855a8 <col:22> col:22 implicit constexpr A 'void (const A<1> &)' inline default trivial noexcept-unevaluated 0x561bc0e855a8
- | | `-ParmVarDecl 0x561bc0e856c8 <col:22> col:22 'const A<1> &'
- | `-CXXConstructorDecl 0x561bc0e857a8 <col:22> col:22 implicit used constexpr A 'void (A<1> &&) noexcept' inline default trivial
- | |-ParmVarDecl 0x561bc0e858c8 <col:22> col:22 'A<1> &&'
- | `-CompoundStmt 0x561bc0e85ab0 <col:22>
- |-ClassTemplateDecl 0x561bc0e825c0 <line:20:1, col:25> col:22 B
- | |-NonTypeTemplateParmDecl 0x561bc0e824c0 <col:10> col:13 'int' depth 0 index 0
- | |-CXXRecordDecl 0x561bc0e82530 <col:15, col:25> col:22 struct B definition
- | | |-DefinitionData empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
- | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveConstructor exists simple trivial needs_implicit
- | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveAssignment exists simple trivial needs_implicit
- | | | `-Destructor simple irrelevant trivial needs_implicit
- | | `-CXXRecordDecl 0x561bc0e82830 <col:15, col:22> col:22 implicit struct B
- | `-ClassTemplateSpecializationDecl 0x561bc0e84468 <col:1, col:25> col:22 struct B definition
- | |-DefinitionData pass_in_registers empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | |-DefaultConstructor exists trivial constexpr defaulted_is_constexpr
- | | |-CopyConstructor simple trivial has_const_param implicit_has_const_param
- | | |-MoveConstructor exists simple trivial
- | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | |-MoveAssignment exists simple trivial needs_implicit
- | | `-Destructor simple irrelevant trivial
- | |-TemplateArgument integral 2
- | |-CXXRecordDecl 0x561bc0e846c8 <col:15, col:22> col:22 implicit struct B
- | |-CXXDestructorDecl 0x561bc0e847b0 <col:22> col:22 implicit referenced ~B 'void () noexcept' inline default trivial
- | |-CXXConstructorDecl 0x561bc0e85b08 <col:22> col:22 implicit constexpr B 'void ()' inline default trivial noexcept-unevaluated 0x561bc0e85b08
- | |-CXXConstructorDecl 0x561bc0e86508 <col:22> col:22 implicit constexpr B 'void (const B<2> &)' inline default trivial noexcept-unevaluated 0x561bc0e86508
- | | `-ParmVarDecl 0x561bc0e86628 <col:22> col:22 'const B<2> &'
- | `-CXXConstructorDecl 0x561bc0e86708 <col:22> col:22 implicit used constexpr B 'void (B<2> &&) noexcept' inline default trivial
- | |-ParmVarDecl 0x561bc0e86828 <col:22> col:22 'B<2> &&'
- | `-CompoundStmt 0x561bc0e86a10 <col:22>
- |-VarDecl 0x561bc0e840f8 <line:21:1, col:52> col:36 i 'outer<int, int>::inner<1, 2, A, B>':'outer<int, int>::inner<1, 2, A, B>' callinit
- | `-ExprWithCleanups 0x561bc0e86ba0 <col:36, col:52> 'outer<int, int>::inner<1, 2, A, B>':'outer<int, int>::inner<1, 2, A, B>'
- | `-CXXConstructExpr 0x561bc0e86b68 <col:36, col:52> 'outer<int, int>::inner<1, 2, A, B>':'outer<int, int>::inner<1, 2, A, B>' 'void (A<1>, B<2>)'
- | |-CXXConstructExpr 0x561bc0e85ac0 <col:38, col:43> 'A<1>':'A<1>' 'void (A<1> &&) noexcept' elidable
- | | `-MaterializeTemporaryExpr 0x561bc0e85948 <col:38, col:43> 'A<1>':'A<1>' xvalue
- | | `-CXXFunctionalCastExpr 0x561bc0e84400 <col:38, col:43> 'A<1>':'A<1>' functional cast to A<1> <NoOp>
- | | `-InitListExpr 0x561bc0e842d0 <col:42, col:43> 'A<1>':'A<1>'
- | `-CXXConstructExpr 0x561bc0e86a20 <col:46, col:51> 'B<2>':'B<2>' 'void (B<2> &&) noexcept' elidable
- | `-MaterializeTemporaryExpr 0x561bc0e868a8 <col:46, col:51> 'B<2>':'B<2>' xvalue
- | `-CXXFunctionalCastExpr 0x561bc0e848a0 <col:46, col:51> 'B<2>':'B<2>' functional cast to B<2> <NoOp>
- | `-InitListExpr 0x561bc0e84770 <col:50, col:51> 'B<2>':'B<2>'
- `-FunctionDecl 0x561bc0e86c30 <line:23:1, line:26:1> line:23:6 test_nondependent_pack 'void ()'
- `-CompoundStmt 0x561bc0e89910 <col:31, line:26:1>
- |-CallExpr 0x561bc0e889e0 <line:24:3, col:52> 'void'
- | |-ImplicitCastExpr 0x561bc0e889c8 <col:3, col:34> 'void (*)(int *, int *)' <FunctionToPointerDecay>
- | | `-DeclRefExpr 0x561bc0e888f8 <col:3, col:34> 'void (int *, int *)' lvalue Function 0x561bc0e887e8 'take_nondependent_pack' 'void (int *, int *)' (FunctionTemplate 0x561bc0e7ef20 'take_nondependent_pack')
- | |-ImplicitCastExpr 0x561bc0e88a10 <col:36> 'int *':'int *' <NullToPointer>
- | | `-CXXNullPtrLiteralExpr 0x561bc0e86da0 <col:36> 'std::nullptr_t'
- | `-ImplicitCastExpr 0x561bc0e88a28 <col:45> 'int *':'int *' <NullToPointer>
- | `-CXXNullPtrLiteralExpr 0x561bc0e86db0 <col:45> 'std::nullptr_t'
- `-CallExpr 0x561bc0e897c0 <line:25:3, col:40> 'void'
- |-ImplicitCastExpr 0x561bc0e897a8 <col:3, col:36> 'void (*)(outer<hide<int>, hide<int>>)' <FunctionToPointerDecay>
- | `-DeclRefExpr 0x561bc0e896d0 <col:3, col:36> 'void (outer<hide<int>, hide<int>>)' lvalue Function 0x561bc0e895c8 'take_nondependent_pack_2' 'void (outer<hide<int>, hide<int>>)' (FunctionTemplate 0x561bc0e7f640 'take_nondependent_pack_2')
- `-InitListExpr 0x561bc0e897e8 <col:38, col:39> 'outer<hide<int>, hide<int>>':'outer<int, int>'
- TranslationUnitDecl 0x55ef061096c8 <<invalid sloc>> <invalid sloc> <undeserialized declarations>
- |-VarDecl 0x55ef06135100 </home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp:17:1, col:60> col:17 spi 'shared_ptr<int>':'shared_ptr<int>' cinit
- | `-ExprWithCleanups 0x55ef06139cc0 <col:23, col:60> 'shared_ptr<int>':'shared_ptr<int>'
- | `-CXXConstructExpr 0x55ef06139c90 <col:23, col:60> 'shared_ptr<int>':'shared_ptr<int>' 'void (shared_ptr<int> &&) noexcept' elidable
- | `-MaterializeTemporaryExpr 0x55ef06139b08 <col:23, col:60> 'shared_ptr<int>':'shared_ptr<int>' xvalue
- | `-CallExpr 0x55ef06139420 <col:23, col:60> 'shared_ptr<int>':'shared_ptr<int>'
- | |-ImplicitCastExpr 0x55ef06139408 <col:23, col:40> 'shared_ptr<int> (*)(const int &, int &&)' <FunctionToPointerDecay>
- | | `-DeclRefExpr 0x55ef06139360 <col:23, col:40> 'shared_ptr<int> (const int &, int &&)' lvalue CXXMethod 0x55ef06139238 'allocate_shared' 'shared_ptr<int> (const int &, int &&)' (FunctionTemplate 0x55ef06138a10 'allocate_shared')
- | |-MaterializeTemporaryExpr 0x55ef06139450 <col:56> 'const int':'const int' lvalue
- | | `-IntegerLiteral 0x55ef06138b80 <col:56> 'int' 1
- | `-MaterializeTemporaryExpr 0x55ef06139468 <col:59> 'int':'int' xvalue
- | `-IntegerLiteral 0x55ef06138ba0 <col:59> 'int' 2
- |-ClassTemplateDecl 0x55ef0613b238 <line:19:1, col:25> col:22 A
- | |-NonTypeTemplateParmDecl 0x55ef06139d90 <col:10> col:13 'int' depth 0 index 0
- | |-CXXRecordDecl 0x55ef0613b190 <col:15, col:25> col:22 struct A definition
- | | |-DefinitionData empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
- | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveConstructor exists simple trivial needs_implicit
- | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveAssignment exists simple trivial needs_implicit
- | | | `-Destructor simple irrelevant trivial needs_implicit
- | | `-CXXRecordDecl 0x55ef0613b4c0 <col:15, col:22> col:22 implicit struct A
- | `-ClassTemplateSpecializationDecl 0x55ef061455d0 <col:1, col:25> col:22 struct A definition
- | |-DefinitionData pass_in_registers empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | |-DefaultConstructor exists trivial constexpr defaulted_is_constexpr
- | | |-CopyConstructor simple trivial has_const_param implicit_has_const_param
- | | |-MoveConstructor exists simple trivial
- | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | |-MoveAssignment exists simple trivial needs_implicit
- | | `-Destructor simple irrelevant trivial
- | |-TemplateArgument integral 1
- | |-CXXRecordDecl 0x55ef061458f8 <col:15, col:22> col:22 implicit struct A
- | |-CXXDestructorDecl 0x55ef061459f8 <col:22> col:22 implicit referenced ~A 'void () noexcept' inline default trivial
- | |-CXXConstructorDecl 0x55ef06147600 <col:22> col:22 implicit constexpr A 'void ()' inline default trivial noexcept-unevaluated 0x55ef06147600
- | |-CXXConstructorDecl 0x55ef06147768 <col:22> col:22 implicit constexpr A 'void (const A<1> &)' inline default trivial noexcept-unevaluated 0x55ef06147768
- | | `-ParmVarDecl 0x55ef06147888 <col:22> col:22 'const A<1> &'
- | `-CXXConstructorDecl 0x55ef06147968 <col:22> col:22 implicit used constexpr A 'void (A<1> &&) noexcept' inline default trivial
- | |-ParmVarDecl 0x55ef06147bb0 <col:22> col:22 'A<1> &&'
- | `-CompoundStmt 0x55ef06147db0 <col:22>
- |-ClassTemplateDecl 0x55ef0613b6b0 <line:20:1, col:25> col:22 B
- | |-NonTypeTemplateParmDecl 0x55ef0613b598 <col:10> col:13 'int' depth 0 index 0
- | |-CXXRecordDecl 0x55ef0613b608 <col:15, col:25> col:22 struct B definition
- | | |-DefinitionData empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
- | | | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveConstructor exists simple trivial needs_implicit
- | | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | | |-MoveAssignment exists simple trivial needs_implicit
- | | | `-Destructor simple irrelevant trivial needs_implicit
- | | `-CXXRecordDecl 0x55ef0613b930 <col:15, col:22> col:22 implicit struct B
- | `-ClassTemplateSpecializationDecl 0x55ef06145b60 <col:1, col:25> col:22 struct B definition
- | |-DefinitionData pass_in_registers empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
- | | |-DefaultConstructor exists trivial constexpr defaulted_is_constexpr
- | | |-CopyConstructor simple trivial has_const_param implicit_has_const_param
- | | |-MoveConstructor exists simple trivial
- | | |-CopyAssignment simple trivial has_const_param needs_implicit implicit_has_const_param
- | | |-MoveAssignment exists simple trivial needs_implicit
- | | `-Destructor simple irrelevant trivial
- | |-TemplateArgument integral 2
- | |-CXXRecordDecl 0x55ef06145dd8 <col:15, col:22> col:22 implicit struct B
- | |-CXXDestructorDecl 0x55ef06145ed8 <col:22> col:22 implicit referenced ~B 'void () noexcept' inline default trivial
- | |-CXXConstructorDecl 0x55ef06147e08 <col:22> col:22 implicit constexpr B 'void ()' inline default trivial noexcept-unevaluated 0x55ef06147e08
- | |-CXXConstructorDecl 0x55ef06147f78 <col:22> col:22 implicit constexpr B 'void (const B<2> &)' inline default trivial noexcept-unevaluated 0x55ef06147f78
- | | `-ParmVarDecl 0x55ef06148098 <col:22> col:22 'const B<2> &'
- | `-CXXConstructorDecl 0x55ef06148178 <col:22> col:22 implicit used constexpr B 'void (B<2> &&) noexcept' inline default trivial
- | |-ParmVarDecl 0x55ef06148298 <col:22> col:22 'B<2> &&'
- | `-CompoundStmt 0x55ef06148490 <col:22>
- |-VarDecl 0x55ef061457c8 <line:21:1, col:52> col:36 i 'outer<int, int>::inner<1, 2, A, B>':'outer<int, int>::inner<1, 2, A, B>' callinit
- | `-ExprWithCleanups 0x55ef06148620 <col:36, col:52> 'outer<int, int>::inner<1, 2, A, B>':'outer<int, int>::inner<1, 2, A, B>'
- | `-CXXConstructExpr 0x55ef061485e8 <col:36, col:52> 'outer<int, int>::inner<1, 2, A, B>':'outer<int, int>::inner<1, 2, A, B>' 'void (A<1>, B<2>)'
- | |-CXXConstructExpr 0x55ef06147dc0 <col:38, col:43> 'A<1>':'A<1>' 'void (A<1> &&) noexcept' elidable
- | | `-MaterializeTemporaryExpr 0x55ef06147c30 <col:38, col:43> 'A<1>':'A<1>' xvalue
- | | `-CXXFunctionalCastExpr 0x55ef06145af8 <col:38, col:43> 'A<1>':'A<1>' functional cast to A<1> <NoOp>
- | | `-InitListExpr 0x55ef061459b8 <col:42, col:43> 'A<1>':'A<1>'
- | `-CXXConstructExpr 0x55ef061484a0 <col:46, col:51> 'B<2>':'B<2>' 'void (B<2> &&) noexcept' elidable
- | `-MaterializeTemporaryExpr 0x55ef06148318 <col:46, col:51> 'B<2>':'B<2>' xvalue
- | `-CXXFunctionalCastExpr 0x55ef06145fd8 <col:46, col:51> 'B<2>':'B<2>' functional cast to B<2> <NoOp>
- | `-InitListExpr 0x55ef06145e98 <col:50, col:51> 'B<2>':'B<2>'
- `-FunctionDecl 0x55ef061486c8 <line:23:1, line:26:1> line:23:6 test_nondependent_pack 'void ()'
- `-CompoundStmt 0x55ef0614df58 <col:31, line:26:1>
- |-CallExpr 0x55ef0614ae90 <line:24:3, col:52> 'void'
- | |-ImplicitCastExpr 0x55ef0614ae78 <col:3, col:34> 'void (*)(int *, int *)' <FunctionToPointerDecay>
- | | `-DeclRefExpr 0x55ef0614ad88 <col:3, col:34> 'void (int *, int *)' lvalue Function 0x55ef0614ac78 'take_nondependent_pack' 'void (int *, int *)' (FunctionTemplate 0x55ef06148790 'take_nondependent_pack')
- | |-ImplicitCastExpr 0x55ef0614aec0 <col:36> 'int *':'int *' <NullToPointer>
- | | `-CXXNullPtrLiteralExpr 0x55ef0614a2f8 <col:36> 'std::nullptr_t'
- | `-ImplicitCastExpr 0x55ef0614aed8 <col:45> 'int *':'int *' <NullToPointer>
- | `-CXXNullPtrLiteralExpr 0x55ef0614a308 <col:45> 'std::nullptr_t'
- `-CallExpr 0x55ef0614ddf0 <line:25:3, col:40> 'void'
- |-ImplicitCastExpr 0x55ef0614ddd8 <col:3, col:36> 'void (*)(outer<hide<int>, hide<int>>)' <FunctionToPointerDecay>
- | `-DeclRefExpr 0x55ef0614dcf0 <col:3, col:36> 'void (outer<hide<int>, hide<int>>)' lvalue Function 0x55ef0614dbe8 'take_nondependent_pack_2' 'void (outer<hide<int>, hide<int>>)' (FunctionTemplate 0x55ef0614aef8 'take_nondependent_pack_2')
- `-InitListExpr 0x55ef0614de18 <col:38, col:39> 'outer<hide<int>, hide<int>>':'outer<int, int>'
- --
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h Line 20: 'outer<int, int>' has different definitions in different modules; defined here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.cpp Line 21: reference to 'inner' is ambiguous
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h Line 25: definition in module '' is here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h Line 21: candidate found by name lookup is 'outer<int, int>::inner'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx-variadic-templates.h Line 21: candidate found by name lookup is 'outer<int, int>::inner'
- 5 errors generated.
- --
- ********************
- FAIL: Clang :: PCH/cxx1y-variable-templates.cpp (1105 of 18108)
- ******************** TEST 'Clang :: PCH/cxx1y-variable-templates.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -pedantic -std=c++1y -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -DNONPCH
- : 'RUN: at line 3'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -pedantic -std=c++1y -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -DNONPCH -DERROR
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -pedantic -std=c++1y -emit-pch /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx1y-variable-templates.cpp.tmp.a -DHEADER1
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -pedantic -std=c++1y -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx1y-variable-templates.cpp.tmp.a -emit-pch /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx1y-variable-templates.cpp.tmp.b -DHEADER2
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -pedantic -std=c++1y -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx1y-variable-templates.cpp.tmp.b -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -DHEADERUSE
- : 'RUN: at line 10'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -pedantic -std=c++1y -emit-pch -fpch-instantiate-templates /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx1y-variable-templates.cpp.tmp.a -DHEADER1
- : 'RUN: at line 11'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -pedantic -std=c++1y -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx1y-variable-templates.cpp.tmp.a -emit-pch -fpch-instantiate-templates /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx1y-variable-templates.cpp.tmp.b -DHEADER2
- : 'RUN: at line 12'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -pedantic -std=c++1y -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/cxx1y-variable-templates.cpp.tmp.b -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp -DHEADERUSE
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp Line 64: constexpr variable 'vd<char *>' must be initialized by a constant expression
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp Line 162: in instantiation of variable template specialization 'spec::vd<char *>' requested here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/cxx1y-variable-templates.cpp Line 64: cast that performs the conversions of a reinterpret_cast is not allowed in a constant expression
- 3 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/pair-unambiguous-ctor.cppm (1110 of 18108)
- ******************** TEST 'Clang :: Modules/pair-unambiguous-ctor.cppm' FAILED ********************
- Script:
- --
- : 'RUN: at line 5'; rm -fr /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp
- : 'RUN: at line 6'; mkdir /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp
- : 'RUN: at line 7'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pair-unambiguous-ctor.cppm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp
- : 'RUN: at line 9'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/string.cppm -I/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/std-string.pcm
- : 'RUN: at line 10'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/algorithm.cppm -I/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/std-algorithm.pcm
- : 'RUN: at line 11'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/Use.cppm -I/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp -emit-module-interface -verify -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/Use.pcm
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/string.h Line 41: implicit instantiation of undefined template 'std::allocator_traits<std::allocator<char>>'
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/string.h Line 44: implicit instantiation of undefined template 'std::allocator_traits<std::allocator<char>>'
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/string.h Line 57: in instantiation of template class 'std::__alloc_traits<std::allocator<char>>' requested here
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/Use.cppm Line 7: in instantiation of template class 'std::basic_string<char>' requested here
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/string.h Line 31: template is declared here
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pair-unambiguous-ctor.cppm.tmp/string.h Line 31: template is declared here
- 6 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/redecl-templates.cpp (1121 of 18108)
- ******************** TEST 'Clang :: Modules/redecl-templates.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/redecl-templates.cpp.tmp
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x c++ -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/redecl-templates /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/redecl-templates.cpp -verify -std=c++14
- : 'RUN: at line 3'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/redecl-templates.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/redecl-templates /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/redecl-templates.cpp -verify -std=c++14
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/redecl-templates.cpp Line 30: explicit specialization of 'A<1>' after instantiation
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/redecl-templates.cpp Line 31: explicit specialization of 'f<1>' after instantiation
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/redecl-templates.cpp Line 32: explicit specialization of 'v' after instantiation
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/redecl-templates.cpp Line 23: implicit instantiation first required here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/redecl-templates.cpp Line 10: implicit instantiation first required here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/redecl-templates.cpp Line 13: implicit instantiation first required here
- 6 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/cxx-templates.cpp (1154 of 18108)
- ******************** TEST 'Clang :: Modules/cxx-templates.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-templates.cpp.tmp
- : 'RUN: at line 2'; not /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x objective-c++ -fmodules -fimplicit-module-maps -fno-modules-error-recovery -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-templates.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp -std=c++14 -ast-dump-lookups 2>/dev/null | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp --check-prefix=CHECK-GLOBAL
- : 'RUN: at line 3'; not /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x objective-c++ -fmodules -fimplicit-module-maps -fno-modules-error-recovery -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-templates.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp -std=c++14 -ast-dump-lookups -ast-dump-filter N 2>/dev/null | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp --check-prefix=CHECK-NAMESPACE-N
- : 'RUN: at line 4'; not /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x objective-c++ -fmodules -fimplicit-module-maps -fno-modules-error-recovery -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-templates.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp -std=c++14 -ast-dump -ast-dump-filter SomeTemplate 2>/dev/null | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp --check-prefix=CHECK-DUMP
- : 'RUN: at line 5'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x objective-c++ -fmodules -fimplicit-module-maps -fno-modules-error-recovery -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-templates.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp -verify -std=c++14
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x objective-c++ -fmodules -fimplicit-module-maps -fno-modules-error-recovery -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-templates.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp -verify -std=c++14 -DEARLY_IMPORT
- --
- Exit Code: 1
- Command Output (stderr):
- --
- /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp:241:23: error: CHECK-GLOBAL-NEXT: expected string not found in input
- // CHECK-GLOBAL-NEXT: |-FunctionTemplate {{.*}} 'f'
- ^
- <stdin>:5:22: note: scanning from here
- |-DeclarationName 'f'
- ^
- <stdin>:7:4: note: possible intended match here
- | `-Function 0x55ceb4a83da0 'g' 'void ()'
- ^
- Input file: <stdin>
- Check file: /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-templates.cpp
- -dump-input=help explains the following input dump.
- Input was:
- <<<<<<
- 1: StoredDeclsMap TranslationUnit 0x55ceb496ff98
- 2: |-DeclarationName 'N'
- 3: |-DeclarationName 'some_template_char_ref'
- 4: | `-Var 0x55ceb4a97c10 'some_template_char_ref' 'SomeTemplate<char &>':'SomeTemplate<char &>'
- 5: |-DeclarationName 'f'
- next:241'0 X error: no match found
- 6: |-DeclarationName 'g'
- next:241'0 ~~~~~~~~~~~~~~~~~~~~~~
- 7: | `-Function 0x55ceb4a83da0 'g' 'void ()'
- next:241'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- next:241'1 ? possible intended match
- 8: |-DeclarationName 'testImplicitSpecialMembers'
- next:241'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 9: | `-Function 0x55ceb4a99778 'testImplicitSpecialMembers' 'void (SomeTemplate<char[1]> &, const SomeTemplate<char[1]> &, SomeTemplate<char[2]> &, const SomeTemplate<char[2]> &)'
- next:241'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 10: |-DeclarationName 'template_param_kinds_2'
- next:241'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 11: |-DeclarationName 'b'
- next:241'0 ~~~~~~~~~~~~~~~~~~~~~~
- 12: |-DeclarationName 'a'
- next:241'0 ~~~~~~~~~~~~~~~~~~~~~~
- .
- .
- .
- >>>>>>
- --
- ********************
- FAIL: Clang :: PCH/coroutines.cpp (1191 of 18108)
- ******************** TEST 'Clang :: PCH/coroutines.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp -verify -std=c++20 /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp
- : 'RUN: at line 5'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -emit-pch -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/coroutines.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/PCH/Output/coroutines.cpp.tmp -verify -std=c++20 /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp Line 58: implicit instantiation of undefined template 'std::coroutine_traits<void, suspend_always>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp Line 65: implicit instantiation of undefined template 'std::coroutine_traits<int, int>'
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp Line 81: in instantiation of function template specialization 'f<suspend_always>' requested here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp Line 12: template is declared here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp Line 82: in instantiation of function template specialization 'f2<int>' requested here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/coroutines.cpp Line 12: template is declared here
- 6 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/ExtDebugInfo.cpp (1211 of 18108)
- ******************** TEST 'Clang :: Modules/ExtDebugInfo.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 2'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x objective-c++ -std=c++11 -debug-info-kind=standalone -dwarf-ext-refs -fmodules -fmodule-format=obj -fimplicit-module-maps -DMODULES -triple x86_64-unknown-linux-gnu -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/ExtDebugInfo.cpp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs -I /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp -emit-llvm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp-mod.ll
- : 'RUN: at line 11'; cat /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp-mod.ll | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/ExtDebugInfo.cpp
- : 'RUN: at line 14'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x c++ -std=c++11 -fmodule-format=obj -emit-pch -I/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs -triple x86_64-unknown-linux-gnu -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp.pch /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/DebugCXX.h
- : 'RUN: at line 17'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -debug-info-kind=standalone -dwarf-ext-refs -fmodule-format=obj -triple x86_64-unknown-linux-gnu -include-pch /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp.pch /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/ExtDebugInfo.cpp -emit-llvm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp-pch.ll
- : 'RUN: at line 21'; cat /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp-pch.ll | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/ExtDebugInfo.cpp
- : 'RUN: at line 22'; cat /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/ExtDebugInfo.cpp.tmp-pch.ll | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/ExtDebugInfo.cpp --check-prefix=CHECK-PCH
- --
- Exit Code: 1
- Command Output (stderr):
- --
- /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/ExtDebugInfo.cpp:83:26: error: template specialization requires 'template<>'
- 83 | struct Specialized<int>::Member { int i; };
- | ~~~~~~~~~~~~~~~~ ^
- | template<>
- /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/ExtDebugInfo.cpp:83:26: error: no struct named 'Member' in 'Specialized<int>'
- 83 | struct Specialized<int>::Member { int i; };
- | ~~~~~~~~~~~~~~~~~~^
- /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/ExtDebugInfo.cpp:84:26: error: no struct named 'Member' in 'Specialized<int>'
- 84 | struct Specialized<int>::Member definedLocally2;
- | ~~~~~~~~~~~~~~~~~~^
- 3 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/pr28752.cpp (1263 of 18108)
- ******************** TEST 'Clang :: Modules/pr28752.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr28752.cpp.tmp
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -nostdsysteminc -I/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR28752 -verify /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pr28752.cpp
- : 'RUN: at line 3'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++11 -nostdsysteminc -fmodules -fmodule-map-file=/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR28752/Subdir1/module.modulemap -fmodule-map-file=/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR28752/module.modulemap -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr28752.cpp.tmp -I/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR28752 -I/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR28752/Subdir1 -verify /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pr28752.cpp -fmodules-local-submodule-visibility
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR28752/vector Line 25: no matching member function for call to '_S_select'
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pr28752.cpp Line 9: in instantiation of member function 'std::vector<int>::vector' requested here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR28752/vector Line 13: candidate function template not viable: no known conversion from 'std::vector<int>' to 'std::D<bool>' for object argument
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR28752/vector Line 16: candidate template ignored: substitution failure [with _Alloc2 = bool]: implicit instantiation of undefined template 'B<true, bool>'
- 4 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/friend-definition.cpp (1288 of 18108)
- ******************** TEST 'Clang :: Modules/friend-definition.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fmodules -std=c++14 /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/friend-definition.cpp -verify
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- (frontend): 'A<int>' has different definitions in different modules; first difference is defined here found end of class
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/A.map Line 6: redefinition of 'func_1'
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/A.map Line 5: but in 'B' found friend declaration
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/friend-definition.cpp Line 38: in instantiation of template class 'A<int>' requested here
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/A.map Line 6: previous definition is here
- 5 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/no-duplicate-codegen-in-GMF.cppm (1297 of 18108)
- ******************** TEST 'Clang :: Modules/no-duplicate-codegen-in-GMF.cppm' FAILED ********************
- Script:
- --
- : 'RUN: at line 3'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp
- : 'RUN: at line 4'; mkdir -p /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp
- : 'RUN: at line 5'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/no-duplicate-codegen-in-GMF.cppm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp/A.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp/A.pcm
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp/B.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp/B.pcm -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp
- : 'RUN: at line 10'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp/B.pcm -S -emit-llvm -o - | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp/B.cppm
- --
- Exit Code: 1
- Command Output (stderr):
- --
- warning: it is deprecated to read module 'A' implicitly; it is going to be removed in clang 18; consider to specify the dependencies explicitly [-Wread-modules-implicitly]
- 1 warning generated.
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp/B.cppm:11:15: error: CHECK-NOT: excluded string found in input
- // CHECK-NOT: define{{.*}}@_ZN3fooIiE8GetValueEv
- ^
- <stdin>:22:1: note: found here
- define weak_odr noundef i32 @_ZN3fooIiE8GetValueEv(ptr noundef nonnull align 4 dereferenceable(4) %this) #0 comdat align 2 {
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Input file: <stdin>
- Check file: /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/no-duplicate-codegen-in-GMF.cppm.tmp/B.cppm
- -dump-input=help explains the following input dump.
- Input was:
- <<<<<<
- .
- .
- .
- 17: %call = call noundef i32 @_ZN3fooIiE8GetValueEv(ptr noundef nonnull align 4 dereferenceable(4) %f)
- 18: ret i32 %call
- 19: }
- 20:
- 21: ; Function Attrs: mustprogress noinline nounwind optnone
- 22: define weak_odr noundef i32 @_ZN3fooIiE8GetValueEv(ptr noundef nonnull align 4 dereferenceable(4) %this) #0 comdat align 2 {
- not:11 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match expected
- 23: entry:
- 24: %this.addr = alloca ptr, align 8
- 25: store ptr %this, ptr %this.addr, align 8
- 26: %this1 = load ptr, ptr %this.addr, align 8
- 27: %value = getelementptr inbounds %class.foo, ptr %this1, i32 0, i32 0
- .
- .
- .
- >>>>>>
- --
- ********************
- FAIL: Clang :: Modules/pr60036.cppm (1417 of 18108)
- ******************** TEST 'Clang :: Modules/pr60036.cppm' FAILED ********************
- Script:
- --
- : 'RUN: at line 3'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp
- : 'RUN: at line 4'; mkdir -p /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp
- : 'RUN: at line 5'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pr60036.cppm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.pcm
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/b.cppm -emit-module-interface -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/b.pcm
- : 'RUN: at line 9'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/c.cppm -emit-module-interface -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/c.pcm
- : 'RUN: at line 10'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/d.cppm -emit-module-interface -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/d.pcm
- : 'RUN: at line 11'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/e.cppm -emit-module-interface -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/e.pcm
- : 'RUN: at line 12'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/f.cppm -emit-module-interface -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/f.pcm
- : 'RUN: at line 13'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/g.cppm -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp -verify -fsyntax-only
- : 'RUN: at line 16'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.pcm
- : 'RUN: at line 17'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/b.cppm -emit-module-interface -fmodule-file=a=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.pcm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/b.pcm
- : 'RUN: at line 18'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/c.cppm -emit-module-interface -fmodule-file=a=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.pcm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/c.pcm
- : 'RUN: at line 19'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/d.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/d.pcm
- : 'RUN: at line 20'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/e.cppm -emit-module-interface -fmodule-file=a=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.pcm -fmodule-file=b=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/b.pcm -fmodule-file=c=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/c.pcm -fmodule-file=d=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/d.pcm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/e.pcm
- : 'RUN: at line 22'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/f.cppm -emit-module-interface -fmodule-file=a=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.pcm -fmodule-file=b=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/b.pcm -fmodule-file=c=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/c.pcm -fmodule-file=d=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/d.pcm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/f.pcm
- : 'RUN: at line 23'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/g.cppm -fmodule-file=a=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.pcm -fmodule-file=b=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/b.pcm -fmodule-file=c=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/c.pcm -fmodule-file=d=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/d.pcm -fmodule-file=e=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/e.pcm -fmodule-file=f=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/f.pcm -verify -fsyntax-only
- --
- Exit Code: 1
- Command Output (stderr):
- --
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/b.cppm:5:10: error: implicit instantiation of undefined template 'a<char &>'
- 5 | typename a<char &>::type;
- | ^
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60036.cppm.tmp/a.cppm:4:8: note: template is declared here
- 4 | struct a;
- | ^
- 1 error generated.
- --
- ********************
- FAIL: Clang :: Modules/merge-var-template-spec-cxx-modules.cppm (1469 of 18108)
- ******************** TEST 'Clang :: Modules/merge-var-template-spec-cxx-modules.cppm' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
- : 'RUN: at line 2'; mkdir /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
- : 'RUN: at line 3'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/merge-var-template-spec-cxx-modules.cppm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp
- : 'RUN: at line 5'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -emit-module-interface /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.pcm
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -emit-module-interface -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/reexport1.cppm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/reexport1.pcm
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -emit-module-interface -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/reexport2.cppm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/reexport2.pcm
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/use.cppm -fsyntax-only -verify
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics expected but not seen:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/use.cppm Line 10: declaration{{.*}}in the global module follows declaration in module var_def
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/use.cppm Line 12: declaration{{.*}}in the global module follows declaration in module var_def
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm Line 3: no viable conversion from 'int' to 'const Int'
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/use.cppm Line 10: explicit specialization of 'zero' after instantiation
- error: 'note' diagnostics expected but not seen:
- File * Line * (directive at /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/use.cppm:11): previous
- File * Line * (directive at /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/use.cppm:13): previous
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/use.cppm Line 4: in instantiation of variable template specialization 'zero<Int>' requested here
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm Line 4: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const Int &' for 1st argument
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/var_def.cppm Line 4: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'Int &&' for 1st argument
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec-cxx-modules.cppm.tmp/use.cppm Line 4: implicit instantiation first required here
- 10 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/explicitly-specialized-template.cpp (1481 of 18108)
- ******************** TEST 'Clang :: Modules/explicitly-specialized-template.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp
- : 'RUN: at line 2'; mkdir -p /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp
- : 'RUN: at line 3'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/explicitly-specialized-template.cpp /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp
- : 'RUN: at line 5'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp/X.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp/X.pcm
- : 'RUN: at line 6'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp/Use.cpp -fsyntax-only -verify
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp/foo.h Line 14: 'foo<int>::getInt' from module 'X.<global>' is not present in definition of 'foo<int>' provided earlier
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/explicitly-specialized-template.cpp.tmp/foo.h Line 10: definition has no member 'getInt'
- 2 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/pr60693.cppm (1493 of 18108)
- ******************** TEST 'Clang :: Modules/pr60693.cppm' FAILED ********************
- Script:
- --
- : 'RUN: at line 3'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp
- : 'RUN: at line 4'; mkdir -p /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp
- : 'RUN: at line 5'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pr60693.cppm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp/a.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp/a.pcm
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu -fmodule-file=a=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp/a.pcm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp/c.cpp -S -emit-llvm -disable-llvm-passes -o - | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp/c.cpp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp/c.cpp:22:11: error: CHECK: expected string not found in input
- // CHECK: declare{{.*}}@_ZNW1a1sIlE3fooEv
- ^
- <stdin>:22:11: note: scanning from here
- ret i32 4
- ^
- <stdin>:29:16: note: possible intended match here
- %call = call noundef i32 @_ZNW1a1sIlE3fooEv(ptr noundef nonnull align 1 dereferenceable(1) %_)
- ^
- Input file: <stdin>
- Check file: /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60693.cppm.tmp/c.cpp
- -dump-input=help explains the following input dump.
- Input was:
- <<<<<<
- .
- .
- .
- 17:
- 18: ; Function Attrs: mustprogress noinline nounwind optnone
- 19: define dso_local i32 @use() #0 {
- 20: entry:
- 21: %_ = alloca %struct.s, align 1
- 22: ret i32 4
- check:22'0 X error: no match found
- 23: }
- check:22'0 ~~
- 24:
- check:22'0 ~
- 25: ; Function Attrs: mustprogress noinline nounwind optnone
- check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 26: define dso_local i64 @use2() #0 {
- check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 27: entry:
- check:22'0 ~~~~~~~
- 28: %_ = alloca %struct.s.0, align 1
- check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 29: %call = call noundef i32 @_ZNW1a1sIlE3fooEv(ptr noundef nonnull align 1 dereferenceable(1) %_)
- check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- check:22'1 ? possible intended match
- 30: %conv = sext i32 %call to i64
- check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 31: ret i64 %conv
- check:22'0 ~~~~~~~~~~~~~~~
- 32: }
- check:22'0 ~~
- 33:
- check:22'0 ~
- 34: ; Function Attrs: mustprogress noinline nounwind optnone
- check:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .
- .
- .
- >>>>>>
- --
- ********************
- FAIL: Clang :: PCH/chain-cxx.cpp (1537 of 18108)
- ******************** TEST 'Clang :: PCH/chain-cxx.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 4'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fsyntax-only -verify -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fsyntax-only -verify /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp -chain-include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp -chain-include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp
- : 'RUN: at line 10'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fsyntax-only -verify -fmodules /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp -chain-include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp -chain-include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp Line 130: no type named 'H' in 'S<double *>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp Line 131: no type named 'I' in 'S<int>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp Line 132: no type named 'J' in 'S<double &>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp Line 133: no type named 'K' in 'S<int *>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp Line 134: no type named 'L' in 'S<int &>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp Line 144: reference to 'value2' is ambiguous
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp Line 46: candidate found by name lookup is 'TS3<int>::value2'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-cxx.cpp Line 51: candidate found by name lookup is 'TS3<int>::value2'
- 8 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/pr60890.cppm (1545 of 18108)
- ******************** TEST 'Clang :: Modules/pr60890.cppm' FAILED ********************
- Script:
- --
- : 'RUN: at line 3'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
- : 'RUN: at line 4'; mkdir -p /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
- : 'RUN: at line 5'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pr60890.cppm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -emit-module-interface /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.pcm
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -emit-module-interface /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/b.cppm -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/b.pcm
- : 'RUN: at line 9'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -emit-module-interface /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/c.cppm -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/c.pcm
- : 'RUN: at line 10'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/d.cpp -fprebuilt-module-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp -S -emit-llvm -o -
- --
- Exit Code: 1
- Command Output (stderr):
- --
- In file included from /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/d.cpp:2:
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm:6:7: error: 'a<int>::aaa' from module 'a' is not present in definition of 'a<int>' provided earlier
- 6 | void aaa() requires(true) {}
- | ^
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60890.cppm.tmp/a.cppm:4:8: note: definition has no member 'aaa'
- 4 | struct a {
- | ^
- 1 error generated.
- --
- ********************
- FAIL: Clang :: Modules/merge-var-template-spec.cpp (1570 of 18108)
- ******************** TEST 'Clang :: Modules/merge-var-template-spec.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp
- : 'RUN: at line 2'; mkdir /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp
- : 'RUN: at line 3'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/merge-var-template-spec.cpp /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp
- : 'RUN: at line 8'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -xc++ -std=c++14 -fmodules -fmodules-local-submodule-visibility -fmodule-name=library -emit-module /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/modules.map -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/module.pcm
- : 'RUN: at line 13'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -xc++ -std=c++14 -fmodules -fmodules-local-submodule-visibility -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/module.pcm -fmodule-map-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/modules.map -fsyntax-only -verify /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/use.cpp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics expected but not seen:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/use.cpp Line 10: redefinition
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/use.cpp Line 11: redefinition
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/var1.h Line 4: no viable conversion from 'int' to 'const Int'
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/use.cpp Line 10: explicit specialization of 'zero' after instantiation
- error: 'note' diagnostics expected but not seen:
- File * Line * (directive at /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/use.cpp:10): previous
- File * Line * (directive at /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/use.cpp:11): previous
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/use.cpp Line 5: in instantiation of variable template specialization 'zero<Int>' requested here
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/var1.h Line 5: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const Int &' for 1st argument
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/var1.h Line 5: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'Int &&' for 1st argument
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/merge-var-template-spec.cpp.tmp/use.cpp Line 5: implicit instantiation first required here
- 10 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/cxx-irgen.cpp (1622 of 18108)
- ******************** TEST 'Clang :: Modules/cxx-irgen.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 2'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-irgen.cpp.tmp
- : 'RUN: at line 3'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fmodules -fimplicit-module-maps -x objective-c++ -std=c++11 -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-irgen.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs -triple x86_64-unknown-linux-gnu -disable-llvm-passes -emit-llvm -o - /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp
- : 'RUN: at line 4'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fmodules -fimplicit-module-maps -x objective-c++ -std=c++11 -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-irgen.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs -triple x86_64-unknown-linux-gnu -disable-llvm-passes -emit-llvm -debug-info-kind=limited -o - /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp:30:15: error: CHECK-DAG: expected string not found in input
- // CHECK-DAG: define available_externally hidden {{.*}}{{signext i32|i32}} @_ZN1SIiE1gEv({{.*}} #[[#ALWAYS_INLINE:]]
- ^
- <stdin>:1:1: note: scanning from here
- ; ModuleID = '/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp'
- ^
- /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp:77:26: error: undefined variable: ALWAYS_INLINE
- // CHECK: attributes #[[#ALWAYS_INLINE]] = {{.*}} alwaysinline
- ^
- <stdin>:614:1: note: possible intended match here
- attributes #4 = { alwaysinline mustprogress nounwind "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
- ^
- Input file: <stdin>
- Check file: /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp
- -dump-input=help explains the following input dump.
- Input was:
- <<<<<<
- 1: ; ModuleID = '/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp'
- dag:30 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
- 2: source_filename = "/home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-irgen.cpp"
- dag:30 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
- dag:30 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 4: target triple = "x86_64-unknown-linux-gnu"
- dag:30 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 5:
- dag:30 ~
- 6: %struct.CtorInit = type { i32 }
- dag:30 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .
- .
- .
- 578: entry:
- 579: %this.addr = alloca ptr, align 8
- 580: store ptr %this, ptr %this.addr, align 8
- 581: %this1 = load ptr, ptr %this.addr, align 8
- 582: %a = getelementptr inbounds %struct.CtorInit, ptr %this1, i32 0, i32 0
- 583: %call = call noundef i32 @_ZN8CtorInitIiE1fEv()
- check:77'0 X~ error: match failed for invalid pattern
- check:77'1 undefined variable: ALWAYS_INLINE
- 584: store i32 %call, ptr %a, align 4
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 585: ret void
- check:77'0 ~~~~~~~~~~
- 586: }
- check:77'0 ~~
- 587:
- check:77'0 ~
- 588: ; Function Attrs: mustprogress noinline nounwind optnone
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .
- .
- .
- 609:
- check:77'0 ~
- 610: attributes #0 = { noinline nounwind "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 611: attributes #1 = { noinline nounwind optnone "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 612: attributes #2 = { mustprogress noinline nounwind optnone "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 613: attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 614: attributes #4 = { alwaysinline mustprogress nounwind "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- check:77'2 ? possible intended match
- 615: attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 616: attributes #6 = { nounwind }
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 617:
- check:77'0 ~
- 618: !llvm.module.flags = !{!0, !1, !2, !3, !4, !5}
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 619: !llvm.linker.options = !{}
- check:77'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
- .
- .
- .
- >>>>>>
- --
- ********************
- FAIL: Clang :: Modules/cxx-linkage-cache.cpp (1626 of 18108)
- ******************** TEST 'Clang :: Modules/cxx-linkage-cache.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-linkage-cache.cpp.tmp
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x objective-c++ -fmodules -fimplicit-module-maps -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/cxx-linkage-cache.cpp.tmp -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/cxx-linkage-cache.cpp -verify -std=c++11
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- (frontend): 'U<int>' has different definitions in different modules; first difference is defined here found end of class
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/cxx-linkage-cache.h Line 7: but in 'cxx_linkage_cache' found friend declaration
- 2 errors generated.
- --
- ********************
- FAIL: Clang :: PCH/chain-default-argument-instantiation.cpp (1632 of 18108)
- ******************** TEST 'Clang :: PCH/chain-default-argument-instantiation.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 4'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fsyntax-only -verify -std=c++11 -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp -include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fsyntax-only -verify -std=c++11 /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp -chain-include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp -chain-include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp
- : 'RUN: at line 10'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fsyntax-only -verify -std=c++11 -fmodules /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp -chain-include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp -chain-include /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp Line 21: redeclaration of 'rdar23810407_variable' with a different type: '(lambda at /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp:24:40)' vs '(lambda at /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp:24:40)'
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp Line 24: in instantiation of function template specialization 'rdar23810407::f<(lambda at /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp:24:40)>' requested here
- File /home/satacker/workspace/compilers/llvm-project/clang/test/PCH/chain-default-argument-instantiation.cpp Line 21: previous declaration is here
- 3 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/pr20399.cpp (1635 of 18108)
- ******************** TEST 'Clang :: Modules/pr20399.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr20399.cpp.tmp
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -fmodules -fimplicit-module-maps -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr20399.cpp.tmp -fmodule-name=libGdml -emit-module -x c++ -std=c++11 /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR20399/module.modulemap
- --
- Exit Code: 1
- Command Output (stderr):
- --
- While building module 'libGdml':
- While building module 'libCore' imported from /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR20399/FirstHeader.h:4:
- In file included from <module-includes>:1:
- /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR20399/SecondHeader.h:11:34: error: no member named 'iterator' in 'std::vector<bool>'
- 11 | : Address<std::vector<bool>::iterator> {};
- | ~~~~~~~~~~~~~~~~~~~^
- /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/PR20399/FirstHeader.h:4:10: fatal error: could not build module 'libCore'
- 4 | #include "SecondHeader.h" // Just a class which gets in the lazy deserialization chain
- | ~~~~~~~~^~~~~~~~~~~~~~~~
- 2 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/submodules.cpp (1638 of 18108)
- ******************** TEST 'Clang :: Modules/submodules.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/submodules.cpp.tmp
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x objective-c++ -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/submodules.cpp.tmp -fmodules -fimplicit-module-maps -I /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/Inputs/submodules /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/submodules.cpp -verify
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/submodules.cpp Line 10: 'int_ptr' declared as a pointer to a reference of type 'remove_reference<int &>::type' (aka 'int &')
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/submodules.cpp Line 17: 'int_ptr2' declared as a pointer to a reference of type 'remove_reference<int &>::type' (aka 'int &')
- 2 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/GH60336.cpp (1641 of 18108)
- ******************** TEST 'Clang :: Modules/GH60336.cpp' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/GH60336.cpp.tmp
- : 'RUN: at line 2'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -x c++ -std=c++20 /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp -verify -fmodules -fmodules-cache-path=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/GH60336.cpp.tmp
- --
- Exit Code: 1
- Command Output (stderr):
- --
- error: 'error' diagnostics expected but not seen:
- File * Line * (directive at /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp:76): partial specialization of 'common_reference<_Tp, _Up>' must be imported from module 'std.type_traits' before it is required
- error: 'error' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp Line 67: no matching function for call to 'ntsf_subsumes_sf'
- error: 'note' diagnostics expected but not seen:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp Line 63 (directive at /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp:77): while substituting into concept arguments here
- File * Line * (directive at /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp:78): partial specialization declared here is not reachable
- error: 'note' diagnostics seen but not expected:
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp Line 63: candidate template ignored: constraints not satisfied [with auto:1 = const char *]
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp Line 63: because 'std::nothrow_sentinel_for<const char *, char *>' evaluated to false
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/std.map Line 53: because 'sentinel_for<const char *, char *>' evaluated to false
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/std.map Line 51: because 'assignable_from<char *&, char *>' evaluated to false
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/std.map Line 43: because 'common_reference_with<const __remove_reference_t(char *&) &, const __remove_reference_t(char *) &>' evaluated to false
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/std.map Line 38: because substituted constraint expression is ill-formed: implicit instantiation of undefined template 'std::common_reference<char *const &, char *const &>'
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp Line 66: candidate template ignored: constraints not satisfied [with auto:1 = const char *]
- File /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/GH60336.cpp Line 66: because 'std::sentinel_for<const char *, char *>' evaluated to false
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/std.map Line 51: because 'assignable_from<char *&, char *>' evaluated to false
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/std.map Line 43: because 'common_reference_with<const __remove_reference_t(char *&) &, const __remove_reference_t(char *) &>' evaluated to false
- File /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/std.map Line 38: because substituted constraint expression is ill-formed: implicit instantiation of undefined template 'std::common_reference<char *const &, char *const &>'
- 15 errors generated.
- --
- ********************
- FAIL: Clang :: Modules/pr60085.cppm (1648 of 18108)
- ******************** TEST 'Clang :: Modules/pr60085.cppm' FAILED ********************
- Script:
- --
- : 'RUN: at line 1'; rm -rf /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp
- : 'RUN: at line 2'; mkdir /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp
- : 'RUN: at line 3'; split-file /home/satacker/workspace/compilers/llvm-project/clang/test/Modules/pr60085.cppm /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp
- : 'RUN: at line 5'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.pcm
- : 'RUN: at line 7'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/c.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/c.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.pcm
- : 'RUN: at line 9'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/b.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/b.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.pcm
- : 'RUN: at line 11'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/c.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/b.pcm
- : 'RUN: at line 14'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.pcm -S -emit-llvm -disable-llvm-passes -o - | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.cppm
- : 'RUN: at line 18'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.pcm
- : 'RUN: at line 20'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/c.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/c.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.pcm
- : 'RUN: at line 22'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/b.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/b.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.pcm
- : 'RUN: at line 24'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.cppm -emit-module-interface -o /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/c.pcm -fmodule-file=/home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/b.pcm
- : 'RUN: at line 27'; /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.pcm -S -emit-llvm -disable-llvm-passes -o - | /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.cppm
- --
- Exit Code: 2
- Command Output (stderr):
- --
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/c.cppm:9:2: warning: expression result unused [-Wunused-value]
- 9 | cc<integer<int>>;
- | ^~~~~~~~~~~~~~~~
- 1 warning generated.
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/b.cppm:6:2: warning: declaration does not declare anything [-Wmissing-declarations]
- 6 | integer<int>::type;
- | ^~~~~~~~~~~~~~~~~~
- 1 warning generated.
- warning: it is deprecated to read module 'd' implicitly; it is going to be removed in clang 18; consider to specify the dependencies explicitly [-Wread-modules-implicitly]
- warning: it is deprecated to read module 'd' implicitly; it is going to be removed in clang 18; consider to specify the dependencies explicitly [-Wread-modules-implicitly]
- In module 'c':
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.cppm:26:2: warning: expression result unused [-Wunused-value]
- 26 | dd<T>;
- | ^~~~~
- /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.cppm:8:2: note: in instantiation of function template specialization 'd<integer<unsigned int>>' requested here
- 8 | d<integer<unsigned>>();
- | ^
- 3 warnings generated.
- warning: it is deprecated to read module 'd' implicitly; it is going to be removed in clang 18; consider to specify the dependencies explicitly [-Wread-modules-implicitly]
- warning: it is deprecated to read module 'c' implicitly; it is going to be removed in clang 18; consider to specify the dependencies explicitly [-Wread-modules-implicitly]
- warning: it is deprecated to read module 'd' implicitly; it is going to be removed in clang 18; consider to specify the dependencies explicitly [-Wread-modules-implicitly]
- warning: it is deprecated to read module 'b' implicitly; it is going to be removed in clang 18; consider to specify the dependencies explicitly [-Wread-modules-implicitly]
- warning: it is deprecated to read module 'd' implicitly; it is going to be removed in clang 18; consider to specify the dependencies explicitly [-Wread-modules-implicitly]
- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
- Stack dump:
- 0. Program arguments: /home/satacker/workspace/compilers/llvm-project/build/bin/clang -cc1 -internal-isystem /home/satacker/workspace/compilers/llvm-project/build/lib/clang/17/include -nostdsysteminc -std=c++20 -triple x86_64-unknown-linux-gnu /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.pcm -S -emit-llvm -disable-llvm-passes -o -
- 1. <eof> parser at end of file
- 2. Per-file LLVM IR generation
- 3. /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/d.cppm:11:24: Generating code for declaration 'f'
- #0 0x000055e2667214a7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x198f4a7)
- #1 0x000055e26671f40e llvm::sys::RunSignalHandlers() (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x198d40e)
- #2 0x000055e266721c5a SignalHandler(int) Signals.cpp:0:0
- #3 0x00007fc1fa442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
- #4 0x000055e266997654 clang::CodeGen::CodeGenFunction::EmitReturnBlock() (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c05654)
- #5 0x000055e266a87409 clang::CodeGen::isAggregateTypeForABI(clang::QualType) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1cf5409)
- #6 0x000055e266a7dd29 (anonymous namespace)::X86_64ABIInfo::getIndirectReturnResult(clang::QualType) const X86.cpp:0:0
- #7 0x000055e266a7c268 (anonymous namespace)::X86_64ABIInfo::computeInfo(clang::CodeGen::CGFunctionInfo&) const X86.cpp:0:0
- #8 0x000055e266b870f0 clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo(clang::CanQual<clang::Type>, bool, bool, llvm::ArrayRef<clang::CanQual<clang::Type>>, clang::FunctionType::ExtInfo, llvm::ArrayRef<clang::FunctionType::ExtParameterInfo>, clang::CodeGen::RequiredArgs) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1df50f0)
- #9 0x000055e266b87542 arrangeLLVMFunctionInfo(clang::CodeGen::CodeGenTypes&, bool, llvm::SmallVectorImpl<clang::CanQual<clang::Type>>&, clang::CanQual<clang::FunctionProtoType>) CGCall.cpp:0:0
- #10 0x000055e266b872b2 clang::CodeGen::CodeGenTypes::arrangeFreeFunctionType(clang::CanQual<clang::FunctionProtoType>) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1df52b2)
- #11 0x000055e266a2496b clang::CodeGen::CodeGenTypes::ConvertFunctionTypeInternal(clang::QualType) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c9296b)
- #12 0x000055e266a237c3 clang::CodeGen::CodeGenTypes::ConvertType(clang::QualType) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c917c3)
- #13 0x000055e2669bf870 clang::CodeGen::CodeGenModule::GetAddrOfFunction(clang::GlobalDecl, llvm::Type*, bool, bool, clang::CodeGen::ForDefinition_t) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c2d870)
- #14 0x000055e266bf502b EmitFunctionDeclPointer(clang::CodeGen::CodeGenModule&, clang::GlobalDecl) CGExpr.cpp:0:0
- #15 0x000055e266bf3e4a EmitDirectCallee(clang::CodeGen::CodeGenFunction&, clang::GlobalDecl) CGExpr.cpp:0:0
- #16 0x000055e266bf28e8 clang::CodeGen::CodeGenFunction::EmitCallee(clang::Expr const*) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1e608e8)
- #17 0x000055e266bf2548 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1e60548)
- #18 0x000055e266c26338 (anonymous namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*) CGExprScalar.cpp:0:0
- #19 0x000055e266c182d2 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1e862d2)
- #20 0x000055e266bd6d30 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1e44d30)
- #21 0x000055e26693dfe1 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1babfe1)
- #22 0x000055e26694a3a1 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1bb83a1)
- #23 0x000055e26699e40f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c0c40f)
- #24 0x000055e2669be23f clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c2c23f)
- #25 0x000055e2669b79f3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c259f3)
- #26 0x000055e2669ab611 clang::CodeGen::CodeGenModule::EmitDeferred() (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c19611)
- #27 0x000055e2669ab62d clang::CodeGen::CodeGenModule::EmitDeferred() (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c1962d)
- #28 0x000055e2669ab62d clang::CodeGen::CodeGenModule::EmitDeferred() (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c1962d)
- #29 0x000055e2669a976b clang::CodeGen::CodeGenModule::Release() (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x1c1776b)
- #30 0x000055e26750c2d8 (anonymous namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&) ModuleBuilder.cpp:0:0
- #31 0x000055e267509649 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x2777649)
- #32 0x000055e2683928e4 clang::ParseAST(clang::Sema&, bool, bool) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x36008e4)
- #33 0x000055e266f75239 clang::FrontendAction::Execute() (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x21e3239)
- #34 0x000055e266ee4836 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x2152836)
- #35 0x000055e26703154b clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0x229f54b)
- #36 0x000055e2658ee602 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0xb5c602)
- #37 0x000055e2658eb78d ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
- #38 0x000055e2658ea664 clang_main(int, char**, llvm::ToolContext const&) (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0xb58664)
- #39 0x000055e2658f9091 main (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0xb67091)
- #40 0x00007fc1fa429d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
- #41 0x00007fc1fa429e40 call_init ./csu/../csu/libc-start.c:128:20
- #42 0x00007fc1fa429e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
- #43 0x000055e2658e7bc5 _start (/home/satacker/workspace/compilers/llvm-project/build/bin/clang+0xb55bc5)
- FileCheck error: '<stdin>' is empty.
- FileCheck command line: /home/satacker/workspace/compilers/llvm-project/build/bin/FileCheck /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/Modules/Output/pr60085.cppm.tmp/a.cppm
- --
- ********************
- ********************
- Failed Tests (27):
- Clang :: Modules/ExtDebugInfo.cpp
- Clang :: Modules/GH60336.cpp
- Clang :: Modules/cxx-irgen.cpp
- Clang :: Modules/cxx-linkage-cache.cpp
- Clang :: Modules/cxx-templates.cpp
- Clang :: Modules/explicitly-specialized-template.cpp
- Clang :: Modules/friend-definition.cpp
- Clang :: Modules/merge-var-template-spec-cxx-modules.cppm
- Clang :: Modules/merge-var-template-spec.cpp
- Clang :: Modules/no-duplicate-codegen-in-GMF.cppm
- Clang :: Modules/odr_hash.cpp
- Clang :: Modules/pair-unambiguous-ctor.cppm
- Clang :: Modules/pr20399.cpp
- Clang :: Modules/pr28752.cpp
- Clang :: Modules/pr60036.cppm
- Clang :: Modules/pr60085.cppm
- Clang :: Modules/pr60693.cppm
- Clang :: Modules/pr60890.cppm
- Clang :: Modules/pr62943.cppm
- Clang :: Modules/redecl-templates.cpp
- Clang :: Modules/submodules.cpp
- Clang :: PCH/chain-cxx.cpp
- Clang :: PCH/chain-default-argument-instantiation.cpp
- Clang :: PCH/coroutines.cpp
- Clang :: PCH/cxx-templates.cpp
- Clang :: PCH/cxx-variadic-templates.cpp
- Clang :: PCH/cxx1y-variable-templates.cpp
- Testing Time: 77.94s
- Skipped : 36
- Unsupported : 3049
- Passed : 30849
- Expectedly Failed: 25
- Failed : 27
- FAILED: tools/clang/test/CMakeFiles/check-clang /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test/CMakeFiles/check-clang
- cd /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test && /usr/bin/python3.10 /home/satacker/workspace/compilers/llvm-project/build/./bin/llvm-lit -sv --param USE_Z3_SOLVER=0 /home/satacker/workspace/compilers/llvm-project/build/tools/clang/test
- ninja: build stopped: subcommand failed.
- satacker@pop-os:~/workspace/compilers/llvm-project/build$
Add Comment
Please, Sign In to add comment