mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-14 09:56:33 +00:00

When clang adds argument dependent lookup candidates, it can perform template instantiation. For example, it can instantiate a templated friend function and register it in the enclosing namespace's lookup table. Fixes https://llvm.org/bugs/show_bug.cgi?id=24954 Reviewed by Richard Smith. llvm-svn: 263634
8 lines
219 B
C++
8 lines
219 B
C++
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -I%S/Inputs/PR24954 -verify %s
|
|
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs/PR24954 -verify %s
|
|
|
|
#include "A.h"
|
|
|
|
// expected-no-diagnostics
|