We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a6f9fd commit a199791Copy full SHA for a199791
clang/test/Modules/pr28744.cpp
@@ -0,0 +1,17 @@
1
+// RUN: rm -rf %t
2
+// RUN: %clang_cc1 -std=c++11 -I%S/Inputs/PR28794 -verify %s
3
+// RUN: %clang_cc1 -std=c++11 -fmodules -fmodule-map-file=%S/Inputs/PR28794/module.modulemap -fmodules-cache-path=%t -I%S/Inputs/PR28794/ -verify %s
4
+
5
+#include "Subdir/Empty.h"
6
+#include "LibAHeader.h"
7
8
+BumpPtrAllocatorImpl<> &getPreprocessorAllocator();
9
+class B {
10
+ struct ModuleMacroInfo {
11
+ ModuleMacroInfo *getModuleInfo() {
12
+ return new (getPreprocessorAllocator()) ModuleMacroInfo();
13
+ }
14
+ };
15
+};
16
17
+// expected-no-diagnostics
0 commit comments