• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t \
3 // RUN:            -fmodule-map-file=%S/Inputs/using-decl-redecl/module.modulemap \
4 // RUN:            -I%S/Inputs/using-decl-redecl \
5 // RUN:            -verify %s
6 #include "c.h"
7 N::clstring y = b;
8 
9 // Use a typo to trigger import of all declarations in N.
10 N::clstrinh s; // expected-error {{did you mean 'clstring'}}
11 // expected-note@a.h:2 {{here}}
12