1 // RUN: mkdir -p %t
2 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fmodule-name=module -o %t/module.pcm -emit-module %S/Inputs/crash-typo-correction-visibility/module.modulemap
3 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -fmodule-file=%t/module.pcm %s -verify
4 
5 struct S {
6   int member; // expected-note {{declared here}}
7 };
8 
9 int f(...);
10 
11 int b = sizeof(f(member)); // expected-error {{undeclared identifier 'member'}}
12