[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / microsoft-abi-emit-dependent.cpp
blobe74ebc879f5b2aee8b3ee2244005c3037dd46e9f
1 // RUN: %clang_cc1 -emit-llvm-only -fmodules -triple x86_64-windows %s
2 // PR36181
3 #pragma clang module build foo
4 module foo {}
5 #pragma clang module contents
6 template <typename T> struct A {
7 friend void f(A<T>) {}
8 };
9 #pragma clang module endbuild
10 #pragma clang module import foo
11 void g() { f(A<int>()); }