You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Test that we can still find the case if the underlying type is different
48
+
extern"C" {
49
+
typedefsignedintsize_t;
50
+
}
51
+
52
+
//--- mod3.cppm
53
+
module;
54
+
#include"size_t.h"
55
+
#include"align.h"
56
+
export module mod3;
57
+
exportusing std::align_val_t;
58
+
59
+
//--- mod4.cppm
60
+
module;
61
+
#include"signed_size_t.h"
62
+
#include"csize_t"
63
+
#include"align.h"
64
+
export module mod4;
65
+
import mod3;
66
+
exportusing std::align_val_t;
67
+
68
+
//[email protected]:* {{'std::align_val_t' has different definitions in different modules; defined here first difference is enum with specified type 'size_t' (aka 'int')}}
69
+
//[email protected]:* {{but in 'mod3.<global>' found enum with specified type 'size_t' (aka 'unsigned int')}}
0 commit comments